Skip to content

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

Defined in ​

profectus/src/util/common.ts:27