collection::keyOf

Tries to find the key for the given element

collection::keyOf($needle)

Parameters

$needle (mixed)
the element to search for

Return values

mixed
the name of the key or false