Skip to main content

ExactlyLike

Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (eg AnyString or ShapedLike).

Use this to switch out of shapedLike and back to the default exact matching.

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

new matchers.modifiers.ExactlyLike(content: any)

Parameters

NameTypeDescription
contentanyThe object, array, primitive or matcher to match exactly.