-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
It can be found at https://github.com/jonschlinkert/parse-comments/blob/master/index.js#L126. And the intention of that is because it is not standard jsdoc, so syntax highlighting is different.
source code
/**
* > Make an array from any value.
*
* @param {Any} `val` some long description
* @return {Array}
* @api private
*/
let arrayify = (val) => {
if (!val) return []
if (Array.isArray(val)) return val
return [val]
}without carrot
with carrot
notice the val
More better would be to wrap with ` later, instead of relay on that
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

