Genotype API Documentation - v0.1.0
    Preparing search index...

    Function detectRuntime

    • Detect the current JavaScript runtime

      Used for telemetry/logging and platform layer selection. Checks for runtime-specific global objects in order of preference.

      Returns Runtime

      The detected runtime identifier

      const runtime = detectRuntime();
      console.log(`Running on ${runtime}`);