Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/R-js/libRmath.js
/ sortOnStringLengthDescending
Function
sortOnStringLengthDescending
scripts/helpers.mjs:33–35 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
31
}
32
33
function
sortOnStringLengthDescending(a, b){
34
return
b.length - a.length;
35
}
36
37
export
function
rankPaths(paths) {
38
// search for paths with no '*'
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected