-
Check
descriptionproperty: If a function has adescriptionproperty, that is used first. -
Check JSDoc-style comment: If no
descriptionproperty exists, it tries to extract a JSDoc comment from the function string. -
Fallback: If neither exists, it returns
"No description available."for that function.