MCPcopy Create free account
hub / github.com/codecombat/codecombat / isIPad

Function isIPad

app/core/utils.js:1782–1785  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1780}
1781
1782const isIPad = () => {
1783 const ua = navigator.userAgent
1784 return (/iPad/.test(ua) || (navigator?.platform === 'MacIntel' && navigator.maxTouchPoints > 1))
1785}
1786
1787module.exports.getCodeLanguages = () => {
1788 const codeLanguages = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected