MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / compareIgnoreCase

Function compareIgnoreCase

apps/ui/src/fonts-tests/all-fonts-page.ts:23–25  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

21let black = new Color('Black');
22
23let compareIgnoreCase = function (a, b) {
24 return a.toLowerCase().localeCompare(b.toLowerCase());
25};
26
27if (isIOS) {
28 const nsFontFamilies = UIFont.familyNames;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected