UNPKG
simple-validator-js
Version:
latest (1.8.0)
1.8.0
1.7.0
1.6.0
1.5.0
1.4.8
1.4.7
1.4.6
1.4.5
Simple form validator and autocorrector.
github.com/fermmm/simple-validator
fermmm/simple-validator
simple-validator-js
/
dist
/
library
/
validators
/
StringMatchingValidators.d.ts
6 lines
(5 loc)
•
273 B
TypeScript
View Raw
1
2
3
4
5
6
import { Validation }
from
".."
; export
declare
class
StringMatchingValidators
{
static
shouldStartWith
(
validation
: Validation,
textToMatch
:
string
,
autocorrect
:
boolean
): Validation;
static
shouldEndWith
(
validation
: Validation,
textToMatch
:
string
): Validation; }