Profectus / util/common / isFunction
Function: isFunction() ​
isFunction<
T
,S
,R
>(functionOrValue
):functionOrValue is (args: S) => T
Type Parameters ​
• T
• S extends readonly unknown
[]
• R
Parameters ​
functionOrValue ​
R
| (...args
) => T
Returns ​
functionOrValue is (args: S) => T