Home > @websublime/schema > StringSchemaType > containsNumber
StringSchemaType.containsNumber() method
Test if value contains numbers
Signature:
containsNumber(errorMessage?: string): this;
Parameters
Parameter | Type | Description |
---|---|---|
errorMessage | string | Error message |
Returns:
this