Zend\Stdlib\ArrayUtils::hasNumericKeys
Test whether an array contains one or more numeric keys.
A numeric key can be one of the following: - an integer 1, - a string with a number '20' - a string with negative number: '-1000' - a float: 2.2120, -78.150999 - a string with float: '4000.99999', '-10.10'
Signature
public function hasNumericKeys(mixed
$value,
[bool
$allowEmpty = false] )
Parameters
$value
— mixed$allowEmpty
— object- Should an empty array() return true
Returns
- bool