src code

class method Spah.SpahQL.DataHelper.eqBooleanRough

Spah.SpahQL.DataHelper.eqBooleanRough(left, right) → Boolean result
  • left (Boolean, null): The value at the left-hand side of the comparator
  • right (Boolean, null): The value at the right-hand side of the comparator

Compares two boolean-type objects under the rules of rough equality. A result of true is returned if both values are truthy or if both values evaluate to false.