Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1446

Comparison of boolean datum is not valid

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      This is not valid.

      if (val && !datum.asBool()) {
        return -1;
      } else if (val && datum.asBool()) {
        return 1;
      } else {
        return 0;
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis
                Reporter:
                navis Navis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: