nimble.match.true

nimble.match.true(value)

Determine if a value is a boolean True value.

Return True if the value is a boolean type equal to True, otherwise return False.

Parameters:

value

Returns:

bool

See also

anyTrue, allTrue

Examples

>>> true(True)
True
>>> true(1) # False because 1 not boolean type
False
>>> true(False)
False
>>> true('True')
False