Type.IsNullable
Syntaxe
Type.IsNullable(type as type) as logical
Asi
Vrátí true
, pokud je typ typu nullable
; jinak false
.
Příklad 1
Určete, jestli number
má hodnotu null.
Využití
Type.IsNullable(type number)
Výstup
false
Příklad 2
Určete, jestli type nullable number
má hodnotu null.
Využití
Type.IsNullable(type nullable number)
Výstup
true