mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-14 01:57:37 +08:00
chore(documentation): fix JSDoc boolean types
This commit is contained in:

committed by
fake-join[bot]
![fake-join[bot]](/assets/img/avatar_default.png)
parent
fcb11a60f7
commit
2dd1e13305
@ -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);
|
||||
|
Reference in New Issue
Block a user