Note: This page is only for type signatures, for a detailed guide on how to use them refer here.
-
default
:: schema -> data -> Bool
-
withError
:: schema -> data -> [Bool,String]
-
lift
f :: x -> Bool
g :: x -> [Bool,message]
lift :: f -> message -> g
lift
is a simple function that takesf
and returns a lifted functiong
. Message is an optional paramater which isString("")
if not specified. -
off
-
default
:: schema -> data -> Bool(true)
A constant function that always returns
true
for any input -
withError
:: schema -> data -> [Bool(true),Array([]),String("")]
A constant function that always returns
[true,[],""]
for any inputNote:
[true,[],""]
is defined as unit
-