Variables
Const array
array: object = predicate("object")(Array.isArray)
Const bigint
bigint: object = of("bigint")
Const boolean
boolean: object = of("boolean")
Const func
func: object = of("function")
Const number
number: object = of("number")
Const object
object: object = chain(of("object") as Parser<object, TypeMismatchError | EqualityError, unknown>, e =>e === null ? fail({ _tag: "NotEqual", to: null, value: e } as EqualityError) : succeed(e))
Const string
string: object = of("string")
Const symbol
symbol: object = of("symbol")
Const undef
undef: object = of("undefined")
Check that the input value is equal to
object(_.isEqual, works with objects).