empty

Constructs a Maybe containing no value (a Nothing).

Signature

empty()
forall a: () => Maybe a

Documentation

Constructs a Maybe containing no value (a Nothing).

Properties

Source Code

Defined in source/maybe/maybe.js at line 268, column 21
empty() {
    return Nothing();
  }
Licence
MIT
Module
folktale/maybe/maybe
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • @diasbruno
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)