Sanitize to a bit, returning only integer 0 or 1
This works the same as the bool sanitizer except that it returns 0 or 1 rather than false or true.
Available since version 3.0.125.
$int = $sanitizer->bit($value);
|string, int, array|
$sanitizer methods and properties
API reference based on ProcessWire core version 3.0.214