NullableFieldType<FieldT, NullableT>: NullableT extends true ? FieldT | null : FieldT

Convenience type that maps the given field type to a new type that is either nullable or not, depending on the given NullableT.

Type Parameters

  • FieldT

    Field type of the field.

  • NullableT extends boolean

    Boolean type that represents whether the field is nullable.

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