Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ionic-team/ionicons
/ isStr
Function
isStr
src/components/icon/utils.ts:158–158 ·
view source on GitHub ↗
(val: any)
Source
from the content-addressed store, hash-verified
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
160
export
const
toLower = (val: string) => val.toLowerCase();
161
Callers
3
isValid
Function · 0.90
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…