Kernel.is_boolean
You're seeing just the function
is_boolean
, go back to Kernel module for more information.
Specs
Returns true
if term
is either the atom true
or the atom false
(i.e.,
a boolean); otherwise returns false
.
Allowed in guard tests. Inlined by the compiler.