foxact
Version:
React Hooks/Utils done right. For browser, SSR, and React Server Components.
1 lines • 248 B
JavaScript
function e(){return"undefined"!=typeof window&&"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&!!(/version\/[\d._].*?safari/i.test(navigator.userAgent)||/mobile safari [\d._]+/i.test(navigator.userAgent))}export{e as isSafari};