Ordinal comparison, never `localeCompare`: two machines must agree.
(a: string, b: string)
| 206 | |
| 207 | /** Ordinal comparison, never `localeCompare`: two machines must agree. */ |
| 208 | function compareText(a: string, b: string): number { |
| 209 | if (a === b) { |
| 210 | return 0; |
| 211 | } |
| 212 | return a < b ? -1 : 1; |
| 213 | } |
| 214 | |
| 215 | /** The symbols the index records as calling one qualified name, in a fixed order. */ |
| 216 | async function callersOf( |
no outgoing calls
no test coverage detected