isMobileLocker()
function isMobileLocker(): boolean;Defined in: env.ts:107
Returns true when running in any Mobile Locker environment — either a native app or a CDN-hosted presentation.
When false, most SDK calls are no-ops or return local fallbacks, allowing development outside the platform.
Returns
Section titled “Returns”boolean