UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

10 lines (9 loc) 268 B
import r from "../managers/braze-instance.js"; import ar from "./feature-flags-provider-factory.js"; export function getFeatureFlag(t) { if (!r.rr()) return; const e = r.l(); if (e && !e.Te()) return null; const n = ar.o().Ie(); return n[t] ? n[t] : null; }