Options
All
  • Public
  • Public/Protected
  • All
Menu

Module boolean

Index

Variables

Variables

Const isFalse

isFalse: object = predicate("boolean")(s => !s,() => `expected false, got true`) as Parser<false, PredicateMismatchError | thing.is.TypeMismatchError>

Type declaration

Const isTrue

isTrue: object = predicate("boolean")(s => s,() => `expected true, got false`) as Parser<true, PredicateMismatchError | thing.is.TypeMismatchError>

Type declaration

Generated using TypeDoc