Skip to contents

enhance() augments an object by adding new data, properties, components or functionality. The resulting object will typically belong to the same class or an inheriting class.

Usage

enhance(x, ...)

Arguments

x

An object.

...

Additional arguments.

Value

An enhanced version of the supplied object.