variants

The variants in the Maybe structure.

Signature

Array Variant

Documentation

The variants in the Maybe structure.

Properties

Variants

0: Nothing()

Constructs a Maybe value that represents a failure (a Nothing).

1: Just(value)

Constructs a Maybe value that represents a successful value (a Just).

(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 161, 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/)