variants

The variants in the Validation structure.

Signature

Array Variant

Documentation

The variants in the Validation structure.

Properties

Variants

0: Failure(value)

Constructs a Validation whose value represents a failure.

1: Success(value)

Constructs a Validation whose value represents a success.

(Uncategorised)

concat()
Inherited
constructor()
Inherited
copyWithin()
Inherited
entries()
Inherited
every()
Inherited
fill()
Inherited
filter()
Inherited
find()
Inherited
findIndex()
Inherited
forEach()
Inherited
includes()
Inherited
indexOf()
Inherited
join()
Inherited
keys()
Inherited
lastIndexOf()
Inherited

A Number.

Experimental
map()
Inherited
pop()
Inherited
push()
Inherited
reduce()
Inherited
reduceRight()
Inherited
reverse()
Inherited
shift()
Inherited
slice()
Inherited
some()
Inherited
sort()
Inherited
splice()
Inherited
toString()
Inherited
unshift()
Inherited

Source Code

Defined in source/adt/union/union.js at line 194, column 35
values(variants)
Stability
stable
Licence
MIT
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)