I would like to document a function whose return type depends on the supplied parameter:
/**
* @param {*} x A thing
* @return {????} The thing in an array
*/
function arrayOf(x) { return [x]; }
Is it possible to name or otherwise reference the actual type of the function param, so that I can use it to specify the return?