assert-observ
Assert that a value is an observable
Install
$ npm install --save assert-observ
Usage
var assertObserv = var Observ = //=> noop //=> throws TypeError
API
assertObserv(value)
-> undefined
value
Required
Type: function
An observable value (a function with a set
method). An error is thrown if the input value is not an observable.
License
MIT © Ben Drucker