Skip to main content

environment

Discworld driver help

environment

Name

environment() - return the environment of an object

Synopsis

varargs object environment( object ob );

Description

Return the containing object (environment) of `ob'. If no argument is given, `ob' defaults to this_object(). If the object is not inside anything, zero is returned.

See also

this_object()