| inspect | = | "DefaultBehavior Boolean" |
contains behavior related to boolean behavior
Mimics
-
none
Inactive cells
Active cells
- !(arg)
- &&(...)
- -(obj)
- ?&(...)
- ?|(...)
- and(...)
- false?()
- nand(...)
- nil?()
- nor(...)
- not()
- or(...)
- true?()
- xor(...)
- ||(...)
Specs
Inactive cells (details)
Active cells (details)
Evaluates the argument and returns the result
[ show source ]
macro(
argCount = call arguments length
if(
argCount ==(
1),
then = call argAt(
0)
then,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Evaluates the argument and returns the result
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
then = call argAt(
0)
then,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Does not evaluate argument and returns self
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
then = call arguments [](
0)
@,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Evaluates the argument and returns the result
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
then = call argAt(
0)
then,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Evaluates its argument and returns the inverse of it
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
other = call argAt(
0)
if(other, false, true),
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Does not evaluate its argument and returns false
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
other = call arguments [](
0)
false,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Does not evaluate argument and returns self
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
then = call arguments [](
0)
@,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Evaluates the argument and returns the inverse of the argument
[ show source ]
macro(
argCount = call arguments length
cond(
argCount ==(
1),
then = call argAt(
0)
if(then, false, true),
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)
Does not evaluate argument and returns self
[ show source ]
macro(
argCount = call arguments length
if(
argCount ==(
1),
then = call arguments [](
0)
@,
error!(Condition Error Invocation NoMatch, message: call message, context: call currentContext))
)