Handle

The Handle module provides tools for creating and manipulating handle objects in Nelson.

Handle objects are lightweight references to larger data structures, enabling efficient memory management and data sharing between different parts of a program.

This module includes functions for creating, copying, and destroying handle objects, as well as for managing their lifetimes and ensuring proper cleanup.

Functions

  • delete - delete handle objects.

  • get - Retrieve a property value from an handle object.

  • invoke - Invoke method on an handle object.

  • ismethod - Return true if method of handle object.

  • isprop - Return true if property of handle object.

  • isvalid - Return true if variable h is a valid handle.

  • methods - Returns the methods name of an object handle.

  • properties - Returns the properties name of an object handle.

  • set - Set a property value of an handle object.

Last updated

Was this helpful?