SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

    Variable excludeConst

    exclude: <T extends Record<string, unknown>>(
        keys: string[],
        obj: T,
    ) => Partial<T>

    Create a shallow copy of the given object, that does not contain the given keys. Non existing keys in the source object are ignored.

    Type declaration

      • <T extends Record<string, unknown>>(keys: string[], obj: T): Partial<T>
      • Type Parameters

        • T extends Record<string, unknown>

        Parameters

        • keys: string[]

          Properties to be selected.

        • obj: T

          Object from which the values are taken.

        Returns Partial<T>

        An object with the selected keys and corresponding values.

        Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.