Ordinaler Vergleich. Siehe Regel 1 im Kopf.
(a: string, b: string)
| 246 | |
| 247 | /** Ordinaler Vergleich. Siehe Regel 1 im Kopf. */ |
| 248 | function compareText(a: string, b: string): number { |
| 249 | if (a === b) { |
| 250 | return 0; |
| 251 | } |
| 252 | return a < b ? -1 : 1; |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * Wonach eine Ebene sortiert wird. |
no outgoing calls
no test coverage detected