deno.land / x / rambda@v9.1.1 / source / sortByPath.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
import { path } from './path.js'import { sortBy } from './sortBy.js'
export function sortByPath(sortPath, list){ if (arguments.length === 1) return _list => sortByPath(sortPath, _list)
return sortBy(path(sortPath), list)}
rambda

Version Info

Tagged at
2 months ago