openfl.utilities.checks

openfl.utilities.checks#

Generic check functions.

Functions

check_equal(x, y, logger)

Assert x and y are equal.

check_is_in(element, _list, logger)

Assert element is in _list collection.

check_not_equal(x, y, logger[, name])

Assert x and y are not equal.

check_not_in(element, _list, logger)

Assert element is not in _list collection.

check_type(obj, expected_type, logger)

Assert obj is of expected_type type.