Entracte (TypeScript)
    Preparing search index...

    Function usePlatform

    • React hook: returns the UA guess synchronously, then upgrades to the authoritative Rust-side answer once get_platform resolves. Safe to call from any component.

      Returns Platform