ye
Refers to the current object instance inside a class method.
Inside a method declared on a class, ye refers to the specific instance the method was called on. Use it to read and write the instance’s own fields.
Syntax
Section titled “Syntax”ye.lebitsoExamples
Section titled “Examples”mofutakwalo Sediko {
motlhophisi(r) {
ye.r = r;
}
}