mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 14:08:45 -05:00
ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to the non-legacy stricter indentation linting. Update to 4.2.0 to remove the blocking issue. PR-URL: https://github.com/nodejs/node/pull/14155 Ref: https://github.com/eslint/eslint/issues/8882 Ref: https://github.com/eslint/eslint/pull/8885 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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