cast(object, other)
Package :
lang
Type :
procedure
Cast the fields of this object to another object o.
Source