SmartionaryEntry
associates of a SmartionaryEntry
that have
null
as their value
.Example
Smartionary.purgeNull('fruits')
Description
purgeNull()
is the equivalient of calling a specific kind of find { }
closure:Map fruits = [ a: "apple", b: "banana", c: "cantaloupe", d: "durian", t: null ]fruits = fruits.findAll { k, v -> v != null }