UNPKG

hd-utils

Version:

A handy utils for modern JS developers

7 lines (6 loc) 229 B
/** * @description If the type of the value is a function, then return true, otherwise return false. * @param {unknown} value - unknown */ const isFunction = (value) => typeof value === 'function'; export default isFunction;