Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
class
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
tablet
Method · 0.95
isDisabled
Function · 0.80
Calls
1
ua
Function · 0.85
Tested by
no test coverage detected