1.1.1 • Published 9 years ago
@f/is-function v1.1.1
is-function
Test whether a given value is a function.
Installation
$ npm install @f/is-function
Usage
var isFunction = require('@f/is-function')
isFunction() // => false
isFunction(true) // => false
isFunction({}) // => false
isFunction(function () {}) // => true
API
isFunction(value)
value
- value to test
Returns: boolean
License
MIT