observ-value
Get the value of an observable via a single interface
Install
$ npm install --save observ-value
Usage
observ-value is designed to let you easily write functions that can take both observables themselves as well as the copies they return/emit.
var value = var Observ = var name = //=> Ben //=> Ben
API
value(input)
-> any
input
Required
Type: any
Either an observable or a copy emitted by the observable.
License
MIT © Ben Drucker