boolean static method

Rule boolean()

boolean: true, false, 1, 0, '1' or '0'.

Implementation

static Rule boolean() => const BooleanRule();