MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _dereferenceEntities

Method _dereferenceEntities

packages/core/xml/index.ts:645–652  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

643 }
644
645 private static _dereferenceEntities(s: string): string {
646 s = String(s);
647 if (s.length > 3 && s.indexOf('&') !== -1) {
648 s = s.replace(_entitySearchRegEx, _HandleAmpEntities);
649 }
650
651 return s;
652 }
653}

Callers 1

constructorMethod · 0.80

Calls 3

indexOfMethod · 0.80
replaceMethod · 0.80
StringClass · 0.50

Tested by

no test coverage detected