Module

Data.ValidationSelective

Package
purescript-selective
Repository
anttih/purescript-selective

#VS Source

newtype VS e a

Instances

#invalid Source

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

Fail with a validation error.

#isValid Source

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

Test whether validation was successful or not.