GoLang Judy::prev

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



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

PHP Judy::prev

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

Judy::prev

(PECL judy >= 0.1.1)

Judy::prevSearch for the previous index in the Judy array

Description

public mixed Judy::prev ( mixed $index )

Search (exclusive) for the previous index present that is 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.