static Matchers

Static class to create "Matcher" objects.

Methods

any() => matcher.Any

Creates a matcher that matches anything.

return matcher.Any

The Any matcher.

isA(Function | String expectedType) => matcher.IsA

Creates a matcher that matches by type.

expectedType

Function | String

Type to be checked.

Function | String expectedType

Type to be checked.

return matcher.IsA

The IsA matcher.