get

This method has been renamed to unsafeGet().

Deprecated since 2.0.0

We want to discourage the use of partial functions, and having short names makes it easy for people to want to use them without thinking about the problems.

For more details see https://github.com/origamitower/folktale/issues/42

Signature

get()
forall a, b: (Validation a b).() => b :: throws TypeError

Documentation

This method has been renamed to unsafeGet().

Properties

Source Code

Defined in source/validation/validation.js at line 276, column 26
'get'() {
    warnDeprecation('`.get()` is deprecated, and has been renamed to `.unsafeGet()`.');
    return this.unsafeGet();
  }
Stability
deprecated
Licence
MIT
Module
folktale/validation/validation
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)