Checks whether a value is a function.
Import:
import { isFunction } from '@mnaoumov/typescript-lib/type-guards';
Signature:
function isFunction(value: unknown): boolean
Parameters:
| Parameter |
Type |
Description |
value |
unknown |
The value to check. |
Returns: boolean — Whether the value is a function.