Skip to content

docs(core): add JSDoc to toArray, coalesce, and trace utilities#11909

Open
InukaWijerathna wants to merge 10 commits into
badges:masterfrom
InukaWijerathna:docs/add-jsdoc-to-core-utils
Open

docs(core): add JSDoc to toArray, coalesce, and trace utilities#11909
InukaWijerathna wants to merge 10 commits into
badges:masterfrom
InukaWijerathna:docs/add-jsdoc-to-core-utils

Conversation

@InukaWijerathna
Copy link
Copy Markdown

Contributes to #6038

Adds JSDoc comments to three undocumented utility modules in core/base-service/:

  • to-array.js - documents toArray(val): coerces a value to an array
  • coalesce.js - documents coalesce(...candidates): returns first non-null/undefined value
  • trace.js - documents _formatLabelForStage() and logTrace(): console trace logging helpers

All comments follow the existing JSDoc style used in base-json.js and errors.js.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

Messages
📖 ✨ Thanks for your contribution to Shields, @InukaWijerathna!

Generated by 🚫 dangerJS against 2b8095e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant