Types and Object Model

Core values, custom types, traits, tags, reflection, members, inheritance, and object conventions.

Subcategories

Core Values 5Object Model 14

Reference Pages

boolean

Converts a value to a true or false value.

null

Represents an explicit no-value object.

tag

Tag literals identify types, traits, and other named language elements.

void

Represents no result from an expression or operation.

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.