* Checks whether a value is a function. * @param value - The value to check. * @returns `true` if `value` is a function.
(value: unknown)
| 160 | * @returns `true` if `value` is a function. |
| 161 | */ |
| 162 | function isFunction(value: unknown): value is (...args: Array<any>) => any { |
| 163 | return typeof value === 'function' |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Resolves `source` to a plain value — calls it if it's a function, otherwise deep-unwraps it. |
no outgoing calls
no test coverage detected