Function: stringRegex()
stringRegex(
regex
:RegExp
,options
?:ValidatorOptions
):IConstraint
<string
,string
>
Defined in: projects/shapeshift/src/constraints/StringConstraints.ts:146
Parameters
Parameter | Type |
---|---|
regex | RegExp |
options ? | ValidatorOptions |
Returns
IConstraint
<string
, string
>