MCPcopy
hub / github.com/michalsnik/aos / phone

Method phone

src/js/helpers/detector.js:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16class Detector {
17
18 phone() {
19 const a = ua();
20 return !!(fullNameRe.test(a) || prefixRe.test(a.substr(0, 4)));
21 }
22
23 mobile() {
24 const a = ua();

Callers 2

tabletMethod · 0.95
isDisabledFunction · 0.80

Calls 1

uaFunction · 0.85

Tested by

no test coverage detected