/** * @name isFunction * @summary Tests for a `function`. * @description * Checks to see if the input value is a JavaScript function. * @example *
* * ```javascript * import { isFunction } from '@pezkuwi/util'; * * isFunction(() => false); // => true * ``` */ export function isFunction(value) { return typeof value === 'function'; }