forked from off-topic/apps.apple.com
8 lines
182 B
TypeScript
8 lines
182 B
TypeScript
export const isEnabled = (key: string): boolean => {
|
|
if (typeof window !== 'undefined') {
|
|
return window._featureKit?.isEnabled(key) ?? false;
|
|
}
|
|
|
|
return false;
|
|
};
|