We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0bd4d commit cf213efCopy full SHA for cf213ef
metamodel-runtime/src/commonMain/kotlin/org/modelix/metamodel/ChildAccessor.kt
@@ -11,7 +11,7 @@ abstract class ChildAccessor<ChildT : ITypedNode>(
11
protected val childConcept: IConcept,
12
protected val childType: KClass<ChildT>,
13
): Iterable<ChildT> {
14
- fun isEmpty(): Boolean = iterator().hasNext()
+ fun isEmpty(): Boolean = !iterator().hasNext()
15
16
fun getSize(): Int {
17
return this.count()
0 commit comments