nimble.match.missing

nimble.match.missing(value)

Determine if a value is missing.

Return True if Nimble considers the value to be missing. Missing values in Nimble are None and (python or numpy) nan values.

Parameters:

value

Returns:

bool

Examples

>>> missing(None)
True
>>> missing(float('nan'))
True
>>> missing(0)
False
>>> missing('nan')
False