isEmpty() public method
Checks if the given value is empty.
A value is considered empty if it is null, an empty array, or an empty string. Note that this method is different from PHP empty(). It will return false when the value is 0.
public boolean isEmpty ( $value ) | ||
---|---|---|
$value | mixed |
The value to be checked |
return | boolean |
Whether the value is empty |
Please login to continue.