IsTruthy function

I suggest having a function called IsTruthy, which is basically equivalent to:

Boolean(value);

This will allow us to do things like:

query.If(
  query.IsTruth(query.Var('myVar')),
  // condition is true
  // condition is false
)

I want more votes! :sleepy:
This is a good one, something I often wish for while coding FQL.

1 Like