Function Resource

FalseQ

Determines if an expression is explicitly false, or not

ResourceFunction["FalseQ"][expr]

yields True if expr is False, and yields False otherwise.

Details and Options

ResourceFunction["FalseQ"][expr] is equivalent to If[expr,False,True,False].

Examples

Basic Examples

FalseQ will return True only if the input is explicitly False:

In[1]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
FalseQ"][False]
Out[1]=
In[2]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
FalseQ"][True]
Out[2]=
In[3]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
FalseQ"][x]
Out[3]=

Properties and Relations

The relationship between TrueQ and FalseQ:

In[4]:=
Table[{expr, TrueQ[expr], ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/\
Function/FalseQ"][expr]}, {expr, {True, False, x}}] // Grid[#, Frame -> All] &
Out[4]=