Skip to content
ExamplesOpen editor ↗

melaELekana

Checks whether vector components are equal.

melaELekana(mola, oMongwe)

Returns nnete or maaka without mutation. The second input can be a vector, an array or separate coordinates. Components compare exactly, without a floating-point tolerance; omitted coordinates compare as zero.

NameTypeDescription
molamolaThe first vector.
oMongwemola / lenaane / paloA vector, array or separate coordinates.
Checks whether vector components are equal
tiro setaLoeto() {
  thalaKanefase(320, 220);
  bokamorago(235);
  diri a = bopaMola(3, 4);
  diri b = bopaMola(5, 1);
  diri sephetho = melaELekana(a, b);
  bogoloJwaMokwalo(28);
  thalaMokwalo(mokwalo(sephetho), 40, 120);
  emisaPoapoeletso();
}

bopaMola, kopololaMola