Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-observ

bendrucker8MIT1.0.0

Detect if a value is an observ

observ, observable

readme

is-observ Build Status

Detect if a value is an observ

Install

$ npm install --save is-observ

Usage

var isObserv = require('is-observ')

isObserv(require('observ')())
//=> true

API

isObserv(value) -> boolean

value

Required
Expected Type: function

Returns true for an observ and false otherwise.

License

MIT © Ben Drucker