@f/is-function

Test whether a given value is a function.

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/is-function
001.1.16 years ago6 years agoMinified + gzip package size for @f/is-function in KB

Readme

is-function

Build status Git tag NPM version Code style

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.