Пређи на главни садржај

Type.IsNullable

Vraća vrednost „true“ ako je tip onaj koji može biti bez vrednosti. U suprotnom, vraća vrednost „false“.

Syntax

Type.IsNullable(
type as type
) as logical

Remarks

Vraća vrednost true ako je tip nullable. U suprotnom, false.

Examples

Example #1

Odredite da li number može da bude bez vrednosti.

Type.IsNullable(type number)

Result:

false

Example #2

Odredite da li type nullable number može da bude bez vrednosti.

Type.IsNullable(type nullable number)

Result:

true

Category

Type