Skip to content
Permalink
Browse files
Implement Booleanish in remaining classes
  • Loading branch information
LadyCailin committed May 23, 2020
1 parent b8a07c4 commit 0a50d664d345c67599a30e140822b2162a188b38
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
@@ -616,4 +616,9 @@ public Class<? extends Mixed> getNativeType() {
return nativeClass;
}

@Override
public boolean getBooleanValue(Target t) {
return true;
}

}
@@ -309,4 +309,9 @@ public CClassType typeof() {
return Construct.typeof(this);
}

@Override
public boolean getBooleanValue(Target t) {
return true;
}

}
@@ -327,6 +327,10 @@ public int size() {
};
}

@Override
public boolean getBooleanValue(Target t) {
return true;
}

};
}
@@ -522,4 +526,9 @@ public Mixed slice(int begin, int end, Target t) {
*/
protected abstract List<MEnumTypeValue> getValues();

@Override
public boolean getBooleanValue(Target t) {
return true;
}

}

0 comments on commit 0a50d66

Please sign in to comment.