Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ionic-team/ionicons
/ isSrc
Function
isSrc
src/components/icon/utils.ts:156–156 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
154
};
155
156
export
const
isSrc = (str: string) => str.length > 0 && /(\/|\.)/.test(str);
157
158
export
const
isStr = (val: any): val is string => typeof val ===
'string'
;
159
Callers
2
getName
Function · 0.85
getSrc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…