Matcher
Matcher
Heavily influenced by Hamcrest, pretty much a straight port
Kind: global class
- Matcher
- .isMatcher :
boolean
- .matches(item, [mismatch_description]) ⇒
boolean
- .describeMismatch(item, mismatch_description) ⇒
void
- .isMatcher :
matcher.isMatcher : boolean
Kind: instance property of Matcher
Read only: true
matcher.matches(item, [mismatch_description]) ⇒ boolean
Kind: instance method of Matcher
Param | Type |
---|---|
item | T |
[mismatch_description] | Description |
matcher.describeMismatch(item, mismatch_description) ⇒ void
Kind: instance method of Matcher
Param | Type |
---|---|
item | T |
mismatch_description | Description |