Link Search Menu Expand Document

πŸ– Bool

PCGEx | Filter : Bool Compare

Performs a simple boolean comparison, converting numeric values to true (> 0) or false (<= 0).

-


Filter
A single filter definition

Table of content


The Bool Filter lets you do a simple boolean comparison.

Numeric values will be converted following these rules:

  • true if the value is > 0
  • false if the value is <= 0

details/filter-ecosystem/filter-bool-lead.png


Properties


Property Description
Operand A
Operand A The first attribute of the comparison
Comparison How to compare the two operand A & B. Either Equal (A == B) or Not Equal (A != B)
Compare Against Type of operand B. Can be a per-point Attribute, or an easily overridable Constant.
Operand B
Operand B
(Constant or Attribute)
Operand B value, the second value to be tested.