1 2 3 4 5 6 7 8 9 | 1× 1× 1× 16× 1× | import { MatchError } from "./_namespace"; export class TruthyMatchError extends MatchError { public constructor(actualValue: any, shouldMatch: boolean) { super(actualValue, true, `Expected ${JSON.stringify(actualValue)} ${!shouldMatch ? "not ": ""}to be truthy.`); } } |