@f/is-function
Test whether a given value is a function.
Last updated 10 years ago by f .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @f/is-function 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.1                                ...           latest (10 years ago)

2 Versions

  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |