|
1 anno fa | |
---|---|---|
.. | ||
LICENSE | 1 anno fa | |
README.md | 1 anno fa | |
index.js | 1 anno fa | |
package.json | 1 anno fa | |
test.js | 1 anno fa |
Is that thing a function? Use this module to find out.
Return true
if fn
is a function, otherwise false
.
Because certain old browsers misreport the type of RegExp
objects as functions.
I stole this from https://github.com/ljharb/object-keys
MIT