xdashReadme | API


xdash / isFn

Function: isFn()

isFn(value): value is Function

Determines if a value is a function.

Parameters

value: unknown

value to check

Returns

value is Function

true if the value is a function, false otherwise

Source

typed.ts:45