x-is-function

Simple function test

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
x-is-function
111.0.46 years ago6 years agoMinified + gzip package size for x-is-function in KB

Readme

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