isEmpty (Function)
Signature: isEmpty(s: string | List<T> | Map<string, V>) -> bool
Description: True if a string has zero bytes or a List/Map has zero elements.
Parameters
- s (string | List
| Map<string, V>): The string, List, or Map to test
Returns: bool
Example
let blank = isEmpty("") // true
blank = isEmpty "" // true