MCPcopy Index your code
hub / github.com/VSpaceCode/VSpaceCode / equalsIgnoreCase

Function equalsIgnoreCase

src/pathCommands.ts:187–189  ·  view source on GitHub ↗
(a1: string, a2: string)

Source from the content-addressed store, hash-verified

185}
186
187function equalsIgnoreCase(a1: string, a2: string) {
188 return a1.length === a1.length && a1.toLowerCase() === a2.toLowerCase();
189}
190
191function isEqualAuthority(a1: string, a2: string) {
192 return a1 === a2 || equalsIgnoreCase(a1, a2);

Callers 1

isEqualAuthorityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected