NonNullishType<T>: Exclude<T, NullishTypes>

Exclude all nullish types from the given type so NonNullishType<TypeA | TypeB | undefined> is TypeA | TypeB.

Type Parameters

  • T

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