Vinyl
Preparing search index...
@amzn/vinyl-validation
createValidationExpectationMessage
Function createValidationExpectationMessage
createValidationExpectationMessage
<
Input
>
(
expectationMessage
:
string
,
input
:
Input
,
path
:
readonly
string
[]
,
inputStringify
?:
(
input
:
Input
)
=>
string
,
)
:
string
Creates a message string for a ValidationErrorMessage based on the input and its expectation.
Type Parameters
Input
Parameters
expectationMessage
:
string
input
:
Input
path
:
readonly
string
[]
inputStringify
:
(
input
:
Input
)
=>
string
= ...
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Vinyl
Loading...
Creates a message string for a ValidationErrorMessage based on the input and its expectation.