Object Model

hasMethod

Tests whether an object exposes a method.

inherited

Calls inherited behavior from a parent implementation.

isA

Tests whether an object is a type or trait.

isNotA

Tests whether an object is not a type or trait.

parent

Declares a parent type for inheritance.

self

References the current receiver inside a member method.

trait

Defines a trait with requirements and provided behavior.

type

Defines a custom object type.

Types and traits

LaiRu custom types provide data members, member methods, constructors, inheritance, and trait composition.