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-string
Simple string test
Example
var isString = require("x-is-string")
isString("hello")
// -> true
isString("")
// -> true
isString(new String("things"))
// -> true
isString(1)
// -> false
isString(true)
// -> false
isString(new Date())
// -> false
isString({})
// -> false
isString(null)
// -> false
isString(undefined)
// -> false
Installation
npm install x-is-string
Contributors
- Matt-Esch