다음을 통해 공유


Type.IsNullable

통사론

  
Type.IsNullable(type as type) as logical

소개

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

예제 1

number null 가능 여부를 확인합니다.

사용량

Type.IsNullable(type number)

출력

false

예제 2

type nullable number null 가능 여부를 확인합니다.

사용량

Type.IsNullable(type nullable number)

출력

true