Home
last modified time | relevance | path

Searched refs:arrayElementIsEmpty (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DTypeScriptLinter.ts691 const arrayElementIsEmpty = arrayLitElements.length === 0; constant
698 const isPromiseEmptyArray = this.checkPromiseEmptyArray(parent, arrayElementIsEmpty);
699 const isEmptyArray = this.options.arkts2 && !arrayLitType && arrayElementIsEmpty;
729 private checkPromiseEmptyArray(parent: ts.Node, arrayElementIsEmpty: boolean): boolean {
730 if (this.options.arkts2 && ts.isCallExpression(parent) && arrayElementIsEmpty) {