MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / startsWith

Function startsWith

core/src/global/config.ts:79–81  ·  view source on GitHub ↗
(input: string, search: string)

Source from the content-addressed store, hash-verified

77};
78
79const startsWith = (input: string, search: string): boolean => {
80 return input.substr(0, search.length) === search;
81};
82
83const IONIC_PREFIX = 'ionic:';
84const IONIC_SESSION_KEY = 'ionic-persist-config';

Callers 1

configFromURLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected