(Quick Reference) h3 Purpose

Delete all SmartionaryEntry associates of a SmartionaryEntry.

Example

Smartionary.purge('fruits')

Description

purge() is the equivalient of re-assigning a previously instantiated Map to an empty Map:

Map fruits = [
    a: "apple",
    b: "banana",
    c: "cantaloupe",
    d: "durian"
]

fruits = [:]

The Smartionary and its description will remain, unaltered.

For purging only null values, see purgeNull.

For more specific or drastic deletions, see delete.