Verified Commit dc6d8e5d authored by Camil Staps's avatar Camil Staps 🚀

Fix issue with empty result_doc

parent 3233be2c
......@@ -402,7 +402,7 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
hidden.push([makeDocFieldsHTML('Parameter', extra['param_doc'])]);
if ('generic_var_doc' in extra && extra['generic_var_doc'].length > 0)
hidden.push([makeDocFieldsHTML('Generic type variable', extra['generic_var_doc'])]);
if ('result_doc' in extra)
if ('result_doc' in extra && extra['result_doc'].length > 0)
hidden.push([makeDocFieldsHTML('Result', extra['result_doc'])]);
if ('cls' in extra)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment