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

    Function resolveViewerVersion

    • Map the raw define value to the exported version: any non-empty string other than the build stamp's 'unknown' placeholder passes through; everything else (absent define, empty, placeholder) is the development fallback. Separated from the constant so the fallback arm is testable in a build that does inject the define.

      Parameters

      • defined: unknown

      Returns string