Skip to main content

Type.IsNullable

Returns true if a type is a nullable type; otherwise, false.

Syntax

Type.IsNullable(
type as type
) as logical

Remarks

Returns true if a type is a nullable type; otherwise, false.

Examples

Example #1

Determine if <code>number</code> is nullable.

Type.IsNullable(type number)

Result:

false

Example #2

Determine if <code>type nullable number</code> is nullable.

Type.IsNullable(type nullable number)

Result:

true

Category

Type