x-is-function
Simple function test
Last updated 8 years ago by serapath .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install x-is-function 
SYNC missed versions from official npm registry.

x-is-function

x is a function

usage

npm install x-is-function

var isFunction = require('x-is-function')

isFunction(function () {})
// -> true

isFunction("hello")
// -> false

isFunction("")
// -> false

isFunction(9)
// -> false

isFunction(true)
// -> false

isFunction(new Date())
// -> false

isFunction({})
// -> false

isFunction(null)
// -> false

isFunction(undefined)
// -> false

related

a list of other x-is-... modules can be found at

Current Tags

  • 1.0.4                                ...           latest (8 years ago)

5 Versions

  • 1.0.4                                ...           8 years ago
  • 1.0.3                                ...           8 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 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 (0)
None

Copyright 2013 - present © cnpmjs.org | Home |