LoomSDK/LoomSDK — pull request #232 by ellemenno (2014-12-01 04:58:57+00:00)
Title: add Dictionary.fetch() to retrieve a value with default

This adds a convenience method to Dictionary that allows safe retrieval of values (no null checks):

```as3
var value = dictionary.fetch(key, safety); // value is guaranteed to equal dictionary[key] or safety
```

The default value may be a function, in which case it will be called to generate the default value when needed.