Zum Hauptinhalt springen

Type.IsNullable

Gibt 'true' zurück, wenn ein Typ NULL-Werte zulässt; andernfalls 'false'.

Syntax​

Type.IsNullable(
type as type
) as logical

Remarks​

Gibt true zurück, wenn ein Typ ein Nullable-Typ ist, der NULL-Werte zulässt; andernfalls false.

Examples​

Example #1​

Bestimmen Sie, ob number NULL-Werte zulässt.

Type.IsNullable(type number)

Result:

false

Example #2​

Bestimmen Sie, ob type nullable number NULL-Werte zulässt.

Type.IsNullable(type nullable number)

Result:

true

Category​

Type