type DefinitelyFunction = Extract extends never ? Function : Extract; /** * A function that checks if the passed parameter is a Function and narrows its type accordingly. * * @param data - The variable to check. * @returns True if the passed input is a Function, false otherwise. * @signature * R.isFunction(data) * @example * R.isFunction(() => {}) //=> true * R.isFunction('somethingElse') //=> false * @category Guard */ declare function isFunction(data: Function | T): data is DefinitelyFunction; export { isFunction };