Is it possible to make a jsdoc like the following?
/**
* Does something with an alphanumeric string
* @param {string/^[a-z0-9]+$/i} the string that must be alphanumeric
* /
I can't see anything on the types page for JSDoc, but I've found that site difficult to navigate before and I couldn't find a third party library, making me think JSDoc come with this?
Is this possible without pulling in external libraries?