is_array()
Check if obj is a list.
Implementation
Args: obj: The object to check Returns: True if obj is a list, False otherwise
Example
is_array([1, 2, 3])
Expected output: True
Source Code
def is_array(obj: Any) -> bool:
return isinstance(obj, list)