GoLang Judy::count

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



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

PHP Judy::count

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

Judy::count

(PECL judy >= 0.1.1)

Judy::countCount the number of elements in the Judy array

Description

public int Judy::count ([ int $index_start = 0 [, int $index_end = -1 ]] )

Count the number of elements in the Judy array.

Parameters

index_start

Start counting from the given index. Default is first index.

index_end

Stop counting when reaching this index. Default is last index.

Return Values

Return the number of elements.