Constructor
new Same(value, matcher)
Creates a new Same
Parameters:
| Name | Type | Description |
|---|---|---|
value |
object | Expected argument. |
matcher |
function | Function to do equality comparison with actual argument. |
Members
matcher :function
Function to do equality comparison with actual argument.
Type:
- function
value :object
The expected argument
Type:
- object