- index(
title: string,
): <Solution extends IEntity<any>>(
expected: Solution[],
) => <Summary extends IEntity<any>>(
gotten: Summary[],
trace?: boolean,
) => void Returns <Solution extends IEntity<any>>(
expected: Solution[],
) => <Summary extends IEntity<any>>(
gotten: Summary[],
trace?: boolean,
) => void
Currying function
Validate index API.
Test whether two indexed values are equal.
If two values are different, then exception would be thrown.
Example