sonic-weave
    Preparing search index...

    Function simplify

    • Get rid of interval formatting. Simplifies a ratio to lowest terms.

      Parameters

      • interval: boolean | Interval

        Interval or val to simplify.

      Returns Interval

      The interval without a virtual AST node to bias formatting.

    • Get rid of val formatting metadata while preserving the same mapping.

      Parameters

      • interval: Val

        Val to simplify.

      Returns Val

      A cloned Val stripped of formatting-only state.