Skip to main content

ArrayStartsWith

Matches an Array which starts with the provided array of matchers - any additional elements in the array are ignored.

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

new matchers.arrays.ArrayStartsWith(matchers: any[])

Parameters

NameTypeDescription
matchersany[]An array of matchers that describes the start of the array.
Additional elements in the actual array are ignored.