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-effectwhitelodgeteapackage-tatespoorman297spooky-elementspooky-routersvelte-component-libviber-botkit@dminc/xhr@cute-apocalypse/react-tree@dikac/t-function@borealisswap/borealis-swap-lib@blkmarketco/components-libraryis-array-likeis-in-correct-formatjson-sql-utilityiphong-styled-componentsis-eq-ten-thousandis-express-appis-express-routerinstall-isis-noopkeyfinderkebakaranjson2bigintjsonifizerkafirchain-tetrisstyled-theme-providerstyled-components-v2styled-components-with-middlewaresstrumu-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@gcencic/styled-components@eliteswap/v2-core@gfpacheco/theming@innoswap/core@lego-js/tests@litedexdev/litedex-core-swap@materia-dex/materia-contracts-proxy@nirin100/quadratic-protocol@nirin100/quadratic-sdk@nodeberry/solidity-payment-processor@jasonetco/action-record@joearasin/redux-form@kodinghandle/bullswap-lib@kineticdata/bundle-queue@img-arena/img-ui-mui-theme@img-arena/ui-core@igniswap/igni-swap-lib@olympfin/olymp-swap-lib@quicksnap/glamorous@qvui/qv-core@prometheusresearch/react-stylesheet@podlubnaja/ui-kit@notyp/core@packi_/feature-webpack@skeetboothppq/component-library@shivarajapple/first-librarymini-template-enginenamespaces-jsnative-promisify-if-presentobserver-subjectobjextender
1.0.2

5 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.0.0

11 years ago