GoLang Judy::last

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



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

PHP Judy::last

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

Judy::last

(PECL judy >= 0.1.1)

Judy::lastSearch for the last index in the Judy array

Description

public void Judy::last ([ string $index ] )

Search (inclusive) for the last index present that is equal to or less 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.