Skip to content

js-bao-wss-client


js-bao-wss-client / googleWebClientAvailable

Function: googleWebClientAvailable() ​

googleWebClientAvailable(config): boolean

The browser's Google availability predicate: the provider is on AND the WEB entry is usable.

Exported so a UI's button and its click handler share one definition rather than two that can disagree — a button that renders must be clickable.

Parameters ​

config ​

googleClients? ​

GoogleClientsConfig | null

googleOAuthEnabled? ​

boolean

Returns ​

boolean

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30