본문으로 건너뛰기

Type.IsNullable

형식이 nullable 형식이면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

Syntax

Type.IsNullable(
type as type
) as logical

Remarks

형식이 nullable 형식이면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

Examples

Example #1

숫자가 nullable 형식인지 확인합니다.

Type.IsNullable(type number)

Result:

false

Example #2

nullable 형식 숫자가 nullable 형식인지 확인합니다.

Type.IsNullable(type nullable number)

Result:

true

Category

Type