Skip to content

Instantly share code, notes, and snippets.

@yaakaito
Created November 18, 2019 14:12
Show Gist options
  • Save yaakaito/7cdb005b2477899b3be4b205f1327862 to your computer and use it in GitHub Desktop.
Save yaakaito/7cdb005b2477899b3be4b205f1327862 to your computer and use it in GitHub Desktop.
isBrowser
export const isBrowser = typeof navigator !== 'undefined'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment