UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

13 lines 765 B
import { CoreNumberMatcher, CoreIntegerMatcher, CoreStringMatcher, CoreBooleanMatcher, CoreNullMatcher } from '@contract-case/case-entities-internal'; /** * Matches a number following [RFC 8259 JSON](https://www.rfc-editor.org/rfc/rfc8259). * * @param example - Any floating point number, not infinity, not NaN. * @returns */ export declare const coreNumberMatcher: (example: number) => CoreNumberMatcher; export declare const coreIntegerMatcher: (example: number) => CoreIntegerMatcher; export declare const coreStringMatcher: (example: string) => CoreStringMatcher; export declare const coreBooleanMatcher: (example: boolean) => CoreBooleanMatcher; export declare const coreNullMatcher: (example?: null) => CoreNullMatcher; //# sourceMappingURL=leaf.d.ts.map