• Tests to see if an object has a function of the specified name.

    Returns

    Type Parameters

    • T = unknown

    • K extends PropertyKey = keyof T

    Parameters

    • instance: unknown
    • name: K

    Returns instance is { [ P in PropertyKey]: ((...params: any[]) => unknown) } & T

Generated using TypeDoc