FuncType - v0.20.0
    Preparing search index...

    Function isCompanion

    • Type guard to check if a value is a Companion object (has both constructor and companion methods)

      Parameters

      • value: unknown

        The value to check

      Returns value is (...args: never[]) => unknown & Record<string, unknown>

      True if value is a Companion object