Drew Bourne

Results 24 issues of Drew Bourne

`hasKeys(...keys)` matches an Object if it has the given keys. Values are ignored. `hasOnlyKeys(...keys)` matches an Object if has _only_ the given keys. Values are ignored. `hasOnlyProperties(properties)` matches an Object...

example ``` isA('flash.events.Event') ```

`hasProperties({ a: { b: 42 } }).matches({ a: { b: 42 } })` should be `true`

MXMLMatchers currently create a new instance of their internal matcher each time `createMatcher()` is called. In a performance sensitive scenario like rules engines this becomes prohibitively expensive in time, and...

should match an array of items that are unique by reference, or unique by field value.

in order to better support binding for use in validators, and other MXML heavy contexts.