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 tr from "./feature-flags-provider-factory.js"; export function getFeatureFlag(t) { if (!r.rr()) return; const e = r.v(); if (e && !e.ke()) return null; const n = tr.m().Me(); return n[t] ? n[t] : null; }