MCPcopy Create free account
hub / github.com/breck7/scroll / permute

Function permute

external/.d3.js:539–541  ·  view source on GitHub ↗
(source, keys)

Source from the content-addressed store, hash-verified

537}
538
539function permute(source, keys) {
540 return Array.from(keys, key => source[key]);
541}
542
543function sort(values, ...F) {
544 if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");

Callers 1

sortFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected