Package Exports
- typical
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typical) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#typical For type-checking Javascript values.
###t.isNumber(n) Returns true if input is a number
- n
*
the input to test
Returns: boolean
####Example
> w.isNumber(0)
true
> w.isNumber(1)
true
> w.isNumber(1.1)
true
> w.isNumber(0xff)
true
> w.isNumber(0644)
true
> w.isNumber(6.2e5)
true
> w.isNumber(NaN)
false
> w.isNumber(Infinity)
false
###t.isPlainObject(input)
Returns true if input type is object
and not an Array
- input
*
the input to test
Returns: boolean
####Example
> w.isPlainObject(new Date())
true
> w.isPlainObject({ clive: "hater" })
true
> w.isPlainObject([ 0, 1 ])
false