@modern-kit/utils
Version:
1 lines • 592 B
Source Map (JSON)
{"version":3,"file":"index.cjs","sources":["../../../src/device/isIOS/index.ts"],"sourcesContent":["import { getOS } from '../getOS';\n\n/**\n * @description 현재 장치가 iOS 장치인지 여부를 확인하는 함수입니다.\n *\n * @returns iOS 장치라면 `true`, 그렇지 않다면 `false`를 반환합니다.\n *\n * @example\n * if (isIOS()) {\n * console.log('iOS 장치에서 실행 중입니다.');\n * }\n */\nexport function isIOS() {\n return getOS() === 'ios';\n}\n"],"names":["getOS"],"mappings":";;;;;;AAYO,SAAS,KAAA,GAAQ;AACtB,EAAA,OAAOA,mBAAM,KAAM,KAAA;AACrB;;;;"}