Namespace: ExactMatch
A simple scorer that tests whether two values are equal. If the value is an object or array, it will be JSON-serialized and the strings compared for equality.
Functions
partial
▸ partial<T>(args): Scorer<unknown, Omit<{}, T> & Partial<Pick<{}, T>>>
Type parameters
| Name | Type |
|---|---|
T | extends never |
Parameters
| Name | Type |
|---|---|
args | { [K in never]: Object[K] } |
Returns
Scorer<unknown, Omit<{}, T> & Partial<Pick<{}, T>>>