Normalize boolean-like values for comparison. IFC STEP encodes booleans as
.T./.F. tokens; parsed property values are typically real JS booleans
by the time they reach a filter, but a caller-supplied filter value (a CLI
flag, a raw mutation) may arrive as one of the string spellings instead.
Collapsing every spelling to the same 'true'/'false' string lets the
String(a) === String(b) comparisons below treat them all as equal.
Normalize boolean-like values for comparison. IFC STEP encodes booleans as
.T./.F.tokens; parsed property values are typically real JS booleans by the time they reach a filter, but a caller-supplied filter value (a CLI flag, a raw mutation) may arrive as one of the string spellings instead. Collapsing every spelling to the same'true'/'false'string lets theString(a) === String(b)comparisons below treat them all as equal.