Check that it is not empty.
If the value is an array, returns true if there is an element.
If the value is a string, the leading and trailing spaces are trimmed and then checked.
Parameters
value: any
Character strings, arrays, objects, etc. to be checked.
Returns boolean
Returns true if the value is not empty, false otherwise.
Check that it is not empty. If the value is an array, returns true if there is an element. If the value is a string, the leading and trailing spaces are trimmed and then checked.