Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with katl-commons 2SIL Engine™ 2.5.7.

Syntax

arrayFindBinary(arrayName, element)

...

arrayFindBinary(arrayName, element)

Parameters

Parameter name

Type

Required

Description

arrayName

array

Yes

Array.

elementtype of array elementYesElement to find in the array.

Return Type

number 


Info
titleRelated routine

Check arrayFind() routine for a more general search case. This only works for sorted arrays.

...