I am tasked with properly documenting a function using JSDoc. The function triggers something if it returns true, otherwise it does not. However, the return value must always be of boolean type.
Here is my proposed JSDoc documentation:
* @return {boolean=false} Trigger for default event handler:
*
* Value | Description
*-------|-------------------------------
* true | Disable default event handler
* false | Enable default event handler
Can you help me choose the correct solution? Thank you!