GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Returns the global GeoLeaf namespace, creating an empty one if absent.

      The typed way to the namespace for code that must MOUNT a member on it — the core's own boot-time setup (globals.*.ts), and a module loaded beside the core. Exported from the package since 3.15.0.

      Returns GeoLeafGlobal

      The namespace globalThis.GeoLeaf holds — never undefined.

      import { ensureGeoLeaf } from "@geoleaf/core";

      const loaded = ensureGeoLeaf().plugins?.isLoaded?.("table") ?? false;