Created by potrace 1.16, written by Peter Selinger 2001-2019

Miva Developer Docs

Syntax
miva_array_binarysearch( key, array var, callback, data var )

Returns#

Returns the index of “key” in “array” or 0 if no match was found.

Parameters#

Parameter Description
key The value that will be searched for.
array var The array that will be searched.
callback The name of a callback function. See below.
data var Optional data that is passed through to the callback function