isEmpty() protected method
Returns a value indicating whether the give value is "empty".
The value is considered "empty", if one of the following conditions is satisfied:
- it is
null
, - an empty string (
''
), - a string containing only whitespace characters,
- or an empty array.
protected boolean isEmpty ( $value ) | ||
---|---|---|
$value | mixed | |
return | boolean |
If the value is empty |
Please login to continue.