collection::extractValue

Makes sure to provide a valid value for each filter method no matter if an object or an array is given

collection::extractValue($item, $field)

Parameters

$item (mixed)
$field (string)

Return values

mixed