forked from off-topic/apps.apple.com
init commit
This commit is contained in:
7
shared/featurekit/src/is-enabled.ts
Normal file
7
shared/featurekit/src/is-enabled.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const isEnabled = (key: string): boolean => {
|
||||
if (typeof window !== 'undefined') {
|
||||
return window._featureKit?.isEnabled(key) ?? false;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
Reference in New Issue
Block a user