[TLC-254] Tidy up some unhelpful comments in typeBind service

This commit is contained in:
Kim Shepherd
2022-04-26 10:25:53 +12:00
parent 2ca7b72ac2
commit f9e402b69f

View File

@@ -78,9 +78,9 @@ export class DsDynamicTypeBindRelationService {
}
/**
* Return true if the type bind relation (eg. {MATCH_VISIBLE, OR, ['book', 'book part']}) matches the value in
* matcher.match (or matcher.opposingMatch? not sure what that is), which in this case would be the current dc.type
* of the submission item
* Return false if the type bind relation (eg. {MATCH_VISIBLE, OR, ['book', 'book part']}) matches the value in
* matcher.match or true if the opposite match. Since this is called with regard to actively *hiding* a form
* component, the negation of the comparison is returned.
* @param relation type bind relation (eg. {MATCH_VISIBLE, OR, ['book', 'book part']})
* @param matcher contains 'match' value and an onChange() event listener
*/