Skip to content
ExamplesOpen editor ↗

balaSelo

→ getItem()

Reads a stored value.

balaSelo(selotlolo)

Storage belongs to the shared preview.bopa.dev origin, not an individual sketch or account. Prefix keys with a sketch name. Other sketches can read or change them; do not store credentials. Browser partitioning, privacy settings and quota can limit persistence. Restores the saved type using type metadata. Returns null when the key is absent.

NameTypeDescription
selotlolomokwaloString key; do not use the reserved p5TypeID suffix.
Reads a stored value.
tiro setaLoeto() {
  tlosaKanefase();
  diri d = balaSelo("bopa-reference:palo");
  bopaTemana(d === lefela ? "Ga go sepe" : d);
}

bopaTemana, dirisaMoGo