sonic-weave
    Preparing search index...

    Function upcastBool

    • Convert boolean value to a 1 or 0.

      Parameters

      Returns Interval

      Interval literal representing either 1 or 0.

      An error if the value is neither a boolean nor an Interval.