UNPKG
sure-guard
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Node library for data validation
github.com/Pedro-Arthur/sure-guard
Pedro-Arthur/sure-guard
sure-guard
/
dist
/
main.d.ts
8 lines
(7 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Validator
}
from
'./Validator'
;
/** * Returns a new Validator instance. *
@param
{
any
}
value
- The value to be validated. *
@returns
{
Validator
} - The Validator instance. */
export
declare
function
validator
(
value
:
any
):
Validator
;