MCPcopy Create free account
hub / github.com/DavidWells/analytics / sortUsageExamples

Function sortUsageExamples

scripts/docs.js:359–363  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

357}
358
359function sortUsageExamples(a, b) {
360 if (a.order < b.order) return -1
361 if (a.order > b.order) return 1
362 return 0
363}
364
365async function getUsageExamples(d) {
366 const { data, pkg, platform, dir } = d

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected