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

Function formatArguments

scripts/docs.js:796–811  ·  view source on GitHub ↗
(tags)

Source from the content-addressed store, hash-verified

794}
795
796function formatArguments(tags) {
797 const theArgs = tags.filter((tag) => {
798 return tag.type === 'param'
799 }).map((tag) => {
800 return renderArg(tag)
801 })
802 // console.log('theArgs', theArgs)
803 if (theArgs.length) {
804 return `**Arguments**
805
806${theArgs.join('\n')}
807
808`
809 }
810 return ''
811}
812
813function capitalizeFirstLetter(string) {
814 return string.charAt(0).toUpperCase() + string.slice(1)

Callers 1

API_DOCSFunction · 0.70

Calls 1

renderArgFunction · 0.70

Tested by

no test coverage detected