1.0.2 • Published 5 years ago

is-function v1.0.2

Weekly downloads
3,518,549
License
MIT
Repository
github
Last release
5 years ago

is-function

browser support

Is that thing a function? Use this module to find out.

API

module.exports = function isFunction(fn) -> Boolean

Return true if fn is a function, otherwise false.

Why not typeof fn === 'function'

Because certain old browsers misreport the type of RegExp objects as functions.

Acknowledgements

I stole this from https://github.com/ljharb/object-keys

License

MIT

xhrdeico@storybook/telejsonsonetts@infinitebrahmanuniverse/nolb-is-f@saaspe/components@everything-registry/sub-chunk-1933promise-effectwhitelodgeshowgalleryteapackage-tatespoorman297spooky-elementspooky-routerscroll-directionsend-ssesequelcomponentsequence-detectorsequencexsvelte-component-libviber-botkitmeike-utilsmini-template-enginemerchant.jsloading-animatedgraphql-logjson2bigintjsonifizerjson-sql-utilityis-array-likeiphong-styled-componentsinstall-isis-eq-ten-thousandis-express-appis-express-routeris-in-correct-formatis-nooplogic-gatekafirchain-tetrisimplexuskebakarankeyfinderlambda_patternglamorouspackagejsonparvan_componentsparvan_reactjs_componentspromise-control-flowpretty-promisepokego-scannerpintervalobjextenderpixiu-swap-corepixiuswap-libs-sdkreact-form-component-librarynamespaces-jsnative-promisify-if-presentobserver-subjectquadratic-sdkreact-router-breadcrumbsreact-rwdreciprocatorredux-namespacesqudratic-uistyled-theme-providerstyled-components-v2styled-components-with-middlewaresrepeat-componentstrumu-libraryuecomponentstrackpoint-tools-minto-strto-numto-integerutdolor@avioos/av-ui-state@afria/afria-libraries@alirya/function@bjoerge/xhr@bestminr/meike-utils@byhuz/huz-ui-state@byhuz/huz-ui-project@bygd/gd-sdk-era@byqv/qv-core@ciscospark/http-core@chakra-swap/core@cognite/3d-camera-controls@cognite/3d-viewer@bonsaiswap-lib/lib@bonsaiswapv3/core@bonsaiswapv3/deployzona-x@hanlindev/cancan@iamstarkov/theming-issue-5@iamstarkov/theming-w-listener@flownet/react-app-state@flownet/form-node-state@game8.io/plugin@game8.io/sdk@fye/soap-client
1.0.2

5 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.0.0

11 years ago