Skip to main content

ObjectEachKeyMatches

Matches an object where each key matches the provided matcher.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.objects.ObjectEachKeyMatches(matcher: any)

Parameters

NameTypeDescription
matcheranyThe matcher that all keys must pass.