sonic-weave
    Preparing search index...

    Function intervalValueAs

    • Format a TimeMonzo instance as a node in the abstract syntax tree if possible.

      Parameters

      • value: TimeReal | TimeMonzo

        Time monzo to convert.

      • node: IntervalLiteral | undefined

        Reference node to infer type and formatting information from.

      • simplify: boolean = false

        Ignore formatting information from the reference AST node.

      Returns IntervalLiteral | undefined

      AST node representing the time monzo.