UNPKG

@edgeguideab/expect

Version:

Check for user input in a consistent way and generate error messages for missings

13 lines (12 loc) 484 B
import { ExpectTypes } from "../types/index"; import { ValidateFunction } from "../definitions"; export declare function isEqualTo({ type, value, parameter, equalTo, input, schema, visitedParams, validate, }: { type: ExpectTypes; value: unknown; parameter: string | number | Array<string | number>; equalTo: string | string[]; input: unknown; schema: Record<string, any>; visitedParams: Array<string | number>; validate: ValidateFunction; }): boolean;