Skip to main content

AnyNumber

Matches a number following RFC 8259 JSON.

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

new matchers.primitives.AnyNumber(example: number)

Parameters

NameTypeDescription
examplenumberAn example number.