You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rich Trott 1562fb9ea7 tools: update ESLint to 4.2.0 8 years ago
..
LICENSE tools: update: eslint-plugin-markdown@1.0.0-beta.7 8 years ago
README.md tools: update: eslint-plugin-markdown@1.0.0-beta.7 8 years ago
index.js tools: update: eslint-plugin-markdown@1.0.0-beta.7 8 years ago
package.json tools: update ESLint to 4.2.0 8 years ago

README.md

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