Security update for permissions_by_term
[yaffs-website] / node_modules / is-function / README.md
1 # is-function
2
3 [![browser support](https://ci.testling.com/grncdr/js-is-function.png)](https://ci.testling.com/grncdr/js-is-function)
4
5 Is that thing a function? Use this module to find out.
6
7 ## API
8
9 ### module.exports = function isFunction(fn) -> Boolean
10
11 Return `true` if `fn` is a function, otherwise `false`.
12
13 ## Why not typeof fn === 'function'
14
15 Because certain old browsers misreport the type of `RegExp` objects as functions.
16
17 ## Acknowledgements
18
19 I stole this from https://github.com/ljharb/object-keys
20
21 ## License
22
23 MIT