LoomSDK/LoomSDK — pull request #231 by ellemenno (2014-12-01 04:50:51+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.