Reference/Autoevals library/TypeScript/Modules

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

NameType
Textends never

Parameters

NameType
args{ [K in never]: Object[K] }

Returns

Scorer<unknown, Omit<{}, T> & Partial<Pick<{}, T>>>

Defined in

autoevals/js/partial.ts:5

On this page