• Create a shallow copy of the given object, that contains all entries with non-nullish values.

    Type Parameters

    • T extends Record<string, any>

    Parameters

    • Optionalobj: T

      An object to pick from.

    Returns Partial<T>

    • A filtered object containing only keys with non-nullish values.

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