This documentation refers to an UNRELEASED version of Infusion.
View this page in the latest stable release documentation, or visit the latest release documentation home.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata

fluid.clear(target)

Clears an object or array of its contents. For objects, each property is deleted.

File name: Fluid.js

Parameters

target

(Object or Array) Either an object or an array whose contents you wish to clear

Return Value

None

See Also


Example

After the call to fluid.clear(), the object obj will be an empty object, i.e. {}.

  • No labels