BooleanQ

BooleanQ[expr]

returns True if expr is either True or False.

Examples

Basic Examples  (1)

BooleanQ gives True on either True or False:

On anything else it gives False:

Wolfram Research (2014), BooleanQ, Wolfram Language function, https://reference.wolfram.com/language/ref/BooleanQ.html.

Text

Wolfram Research (2014), BooleanQ, Wolfram Language function, https://reference.wolfram.com/language/ref/BooleanQ.html.

CMS

Wolfram Language. 2014. "BooleanQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BooleanQ.html.

APA

Wolfram Language. (2014). BooleanQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BooleanQ.html

BibTeX

@misc{reference.wolfram_2024_booleanq, author="Wolfram Research", title="{BooleanQ}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/BooleanQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_booleanq, organization={Wolfram Research}, title={BooleanQ}, year={2014}, url={https://reference.wolfram.com/language/ref/BooleanQ.html}, note=[Accessed: 21-November-2024 ]}