From e147602a3a587956cf8c42481d3e6a8c4e586223 Mon Sep 17 00:00:00 2001 From: NetHans Date: Thu, 18 Aug 2022 21:27:59 +0200 Subject: [PATCH] JSdoc documentation fixed --- .../node_modules/@node-red/runtime/lib/flows/Flow.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js index 4f87854ea..2616b8878 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js @@ -133,9 +133,9 @@ class Flow { * Checks if node A and node B are in the same group. * Node B can also be placed in a subgroup. * If node A is not in any group, false is returned - * @param {[type]} nodeIdA [description] - * @param {[type]} nodeIdB [description] - * @returns {[type]} Returns true if all nodes are in the same group. If not, then false or if node A is not in a group then also false. + * @param {Node} nodeIdA Node which defines the first search level + * @param {Node} nodeIdB Node which is to be searched in the group or a subgroup + * @returns {boolean} Returns true if all nodes are in the same group. If not, then false or if node A is not in a group then also false. */ isNodeInSameGroup(nodeIdA, nodeIdB) { const groups = this.global.groups; @@ -154,9 +154,9 @@ class Flow { /** * Subfunction to recursively search the groups for matches - * @param {[type]} targetNode [description] - * @param {[type]} targetGroup [description] - * @returns Returns true if a match was found. Otherwise false. + * @param {Node} Node which is to be searched in the group or a subgroup + * @param {Group} targetGroup group currently under analysis + * @returns {boolean} Returns true if a match was found. Otherwise false. */ const isInSubGroup = (targetNode, targetGroup) => { let _result = false;