CoalesceWithBoolOverAnd.yqls 358 B

1234567891011
  1. (
  2. (let config (DataSource 'config))
  3. (let res_sink (DataSink 'result))
  4. (let optBool1 (== (Int32 '0) (/ (Int32 '1) (Int32 '2))))
  5. (let optBool2 (== (Int32 '0) (/ (Int32 '4) (Int32 '5))))
  6. (let data (Coalesce (And optBool1 optBool2) (Bool 'false)))
  7. (let world (Write! world res_sink (Key) data '('('type))))
  8. (let world (Commit! world res_sink))
  9. (return world)
  10. )