is_true


is_true(obj)
      

Return true if obj evaluates to the constant true value.

Examples:


is_true(1 < 2)
// true
is_true(1)
// false
      

Also see:

is_false
is_boolean


Core Module Index | Contents