Method on @logical: isAlways (t)

Test if expression is mathematically true.

For inputs of type logical (true/false) this is just the logical itself. The reason for having this function is explained elsewhere (see ‘@sym/isAlways’).

Examples:

isAlways(true)
  ⇒ ans = 1
isAlways(false)
  ⇒ ans = 0

See also: @sym/isAlways.

Package: symbolic