Module

Data.ValidationSelective

Package
purescript-selective
Repository
anttih/purescript-selective

#VS Source

newtype VS e a

Instances

#invalid Source

invalid :: forall result err. err -> VS err result

Fail with a validation error.

#isValid Source

isValid :: forall result err. VS err result -> Boolean

Test whether validation was successful or not.