true?

returns true if given value is true; otherwise, it returns false


Parameters

true? value :any

Returns

  • :logical

Examples

copy
print true? 1 = 2 ; false print true? 1 <> 2 ; true print true? even? 2 ; true print true? [1 2 3] ; false

Related