nimble.match.allFalse

nimble.match.allFalse(data)

Determine if all values in the data are a boolean False.

Return True if every value in the data is boolean False.

Parameters:

data (Nimble Base object)

Returns:

bool

See also

anyFalse, false

Examples

>>> lst = [[False, False, False],
...        [False, False, False],
...        [False, False, False]]
>>> X = nimble.data(lst)
>>> allFalse(X)
True
>>> lst = [[False, False, True],
...        [False, False, True],
...        [False, True, False]]
>>> X = nimble.data(lst)
>>> allFalse(X)
False