Skip to main content

Matcher

Matcher

Heavily influenced by Hamcrest, pretty much a straight port

Kind: global class

matcher.isMatcher : boolean

Kind: instance property of Matcher
Read only: true

matcher.matches(item, [mismatch_description]) ⇒ boolean

Kind: instance method of Matcher

ParamType
itemT
[mismatch_description]Description

matcher.describeMismatch(item, mismatch_description) ⇒ void

Kind: instance method of Matcher

ParamType
itemT
mismatch_descriptionDescription