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: (Result a b).() => b :: (throws TypeError)

Documentation

This method has been renamed to unsafeGet().

Properties

Source Code

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