Library API
    Preparing search index...

    Function exclude

    • Recursively removes properties whose values match the specified type names.

      Type Parameters

      Parameters

      • obj: T

        The object or array to mutate

      • ...types: (
            | "string"
            | "number"
            | "bigint"
            | "boolean"
            | "symbol"
            | Primitives
            | "null"
            | "void"
        )[]

        The type names to exclude, such as Function or String

      Returns T

      The mutated object reference