chore(documentation): fix JSDoc boolean types

This commit is contained in:
Philipp Fromme
2020-04-06 10:26:04 +02:00
committed by fake-join[bot]
parent fcb11a60f7
commit 2dd1e13305
8 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ export var FLOW_LABEL_INDENT = 15;
* Returns true if the given semantic has an external label
*
* @param {BpmnElement} semantic
* @return {Boolean} true if has label
* @return {boolean} true if has label
*/
export function isLabelExternal(semantic) {
return is(semantic, 'bpmn:Event') ||
@ -35,7 +35,7 @@ export function isLabelExternal(semantic) {
* Returns true if the given element has an external label
*
* @param {djs.model.shape} element
* @return {Boolean} true if has label
* @return {boolean} true if has label
*/
export function hasExternalLabel(element) {
return isLabel(element.label);