Returns the opposite of the $fn
call
- fn
- Function to return the opposite.
Return true if the value is not an array:
<?php
use function Lambdish\Phunctional\not;
$notAnArray = not('is_array');
$notAnArray(123456);
// => true
$notAnArray(['this is' => 'an array']);
// => false