isBools static method
Checks that if List
list
can be a List<bool>
Implementation
static bool isBools(Iterable list,
{List<String> trues = const ['true', 'True'],
List<String> falses = const ['false', 'False']}) =>
list.every((e) => isBool(e, trues: trues, falses: falses));