Type.IsNullable
Atgriež "true", ja tips ir Nullējams. Pretējā gadījumā vērtība ir "false".
Syntax
Type.IsNullable(
type as type
) as logical
Remarks
Atgriež true, ja tips ir Nullable. Pretējā gadījumā vērtība ir false.
Examples
Example #1
Nosakiet, vai number ir Nullējams.
Type.IsNullable(type number)
Result:
false
Example #2
Nosakiet, vai type Nullable number ir Nullējams.
Type.IsNullable(type nullable number)
Result:
true
Category
Type