diff --git a/src/utils.ts b/src/utils.ts index d5d6c66..6f2e24d 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -40,3 +40,5 @@ export const getRuntime = (): Runtime => { } return "unknown"; }; + +export const isExtension = () => getRuntime() === "extension";