Logical.FromText
통사론
Logical.FromText(text as nullable text) as nullable logical
소개
텍스트 값 text
에서 "참" 또는 "거짓"의 논리값을 생성합니다.
text
가 다른 문자열을 포함하는 경우 예외가 발생합니다.
text
텍스트 값은 대/소문자를 구분하지 않습니다.
예제 1
텍스트 문자열 "true"에서 논리 값을 만듭니다.
사용량
Logical.FromText("true")
출력
true
예제 2
텍스트 문자열 "a"에서 논리 값을 만듭니다.
사용량
Logical.FromText("a")
출력
[Expression.Error] Could not convert to a logical.