--- title: boolean slug: Web/XPath/Functions/boolean tags: - XSLT_Reference translation_of: Web/XPath/Functions/boolean ---

{{ XsltRef() }}

 

boolean 함수는 식을 평가하고 참이나 거짓을 반환합니다.

문법

boolean(expression )

인수

expression
평가하는 식. 식은 부울 뿐만 아니라 수와 노드 집합도 참조할 수 있습니다.

반환

expression 을 평가한 뒤 부울값 truefalse.

주의

정의

XPath 1.0 4.3

Gecko 지원

지원함.