Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function parseFormatVersion

    • Parse a MAJOR.MINOR string into [major, minor]; null otherwise.

      Deliberately strict: no patch component, no leading v, no whitespace. Version strings are written by Luxar itself from the contract, so anything else is a foreign or corrupt header, not a spelling to be lenient about.

      Parameters

      • version: unknown

      Returns [number, number] | null