Skip to content
ExamplesOpen editor ↗

balaLenaane

Reads an array’s length.

balaLenaane(lenaane)

Returns the number of array slots, including holes in a sparse array. An empty array returns 0. This is a read-only operation; it does not resize the array.

NameTypeDescription
lenaanelenaaneAn array of values.
Reads an array’s length
tiro setaLoeto() {
  thalaKanefase(320, 220);
  bokamorago(235);
  diri dipalo = [20, 40, 60];
  bogoloJwaMokwalo(48);
  thalaMokwalo(balaLenaane(dipalo), 140, 130);
  emisaPoapoeletso();
}

tsenyaMoLenaane, tlosaMoLenaane, boleeleJwaMola