isSafari
Definition:
js
/**
* Juge if is Safari browser
* @returns eturn a boolean value, where true represents it is a Safari browser, and false represents it is not
*/
Demo
Is this Safari browser?
Usage Example
ts
import { onMounted, ref } from 'vue'
import { isSafari } from 'utils-snap-fn'
const ifSafari = ref()
onMounted(() => {
ifSafari.value = isSafari()
})