boolean_checker

Crates.ioboolean_checker
lib.rsboolean_checker
version0.1.0
sourcesrc
created_at2023-04-20 00:21:48.353739
updated_at2023-04-20 00:21:48.353739
descriptionChecks boolean values for type safety.
homepage
repository
max_upload_size
id844022
size2,374
(Avvyxx)

documentation

README

Usage/Examples

Checks the value of a boolean. Essential for type safety.

is_true(true); // true
is_true(false); // false
is_true("false"); // invalid

is_false(false); // true
is_false(true); // false
is_false("true"); // invalid

Assure that you only pass in boolean values.

Commit count: 0

cargo fmt