IFClite TypeScript API
    Preparing search index...

    Function normalizeBooleanValue

    • 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.

      Parameters

      • value: unknown

      Returns unknown