GoLang Judy::first

request it (278)
GoLang replacement for PHP's Judy::first [edit | history]



Do you know a GoLang replacement for PHP's Judy::first? Write it!

PHP Judy::first

PHP original manual for Judy::first [ show | php.net ]

Judy::first

(PECL judy >= 0.1.1)

Judy::firstSearch for the first index in the Judy array

Description

public mixed Judy::first ([ mixed $index ] )

Search (inclusive) for the first index present that is equal to or greater than the passed Index.

Parameters

index

The index can be an integer or a string corresponding to the index where to start the search.

Return Values

Return the corresponding index in the array.