UniCoreFW

is_null()

Check if obj is None.

Implementation

Args: obj: The object to check Returns: True if obj is None, False otherwise

Example

is_null(None)

Expected output: True

Source Code

def is_null(obj: Any) -> bool: return obj is None