more validators
This commit is contained in:
@@ -9,6 +9,6 @@ export const isString: Validator = {
|
||||
}
|
||||
},
|
||||
message: (value: any, args?: Args) => {
|
||||
return `The value '${value && value.toString()}' has to be a string.`;
|
||||
return `This value has to be a string.`;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user