UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
generic
/
models
/
Array.comparators.ts
5 lines
(3 loc)
•
164 B
text/typescript
View Raw
1
2
3
4
5
import
{ compareNumeralsBy }
from
'../../utils/numeral/sort'
import
{ getLength }
from
'./Array'
export
const
compareArraysByLength =
compareNumeralsBy
(getLength)