isAssociative() public static method

Note: Empty arrays are not.
public static isAssociative ( array $array ) : boolean
$array array
return boolean
Example #1
0
 public function testNonArraysAreNotIndexedOrAssociative()
 {
     $this->assertFalse(Arr::isIndexed('derp'));
     $this->assertFalse(Arr::isAssociative('derp'));
 }