UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

8 lines (7 loc) 302 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var isFunction = function (functionToCheck) { return (typeof functionToCheck === 'function' && !!functionToCheck.constructor && !!functionToCheck.call && !!functionToCheck.apply); }; exports.default = isFunction;