Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ionic-team/ionic-framework
/ isIonicElement
Function
isIonicElement
core/src/global/ionic-global.ts:60–60 ·
view source on GitHub ↗
(elm: any)
Source
from the content-addressed store, hash-verified
58
}
59
60
const
isIonicElement = (elm: any) => elm.tagName?.startsWith(
'ION-'
);
61
62
const
isAllowedIonicModeValue = (elmMode: string) => [
'ios'
,
'md'
].includes(elmMode);
63
Callers
1
initialize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected