MCPcopy 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
156export const isSrc = (str: string) => str.length > 0 && /(\/|\.)/.test(str);
157
158export const isStr = (val: any): val is string => typeof val === 'string';
159

Callers 2

getNameFunction · 0.85
getSrcFunction · 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…