UNPKG
@ivandt/json-rules
Version:
latest (2.2.0)
2.2.0
2.1.1
2.1.0
2.0.0
1.7.3
1.7.2
1.7.1
1.7.0
Rule parsing engine for JSON rules
github.com/xe4me/json-rules
xe4me/json-rules
@ivandt/json-rules
/
dist
/
services
/
validators
/
domain.d.ts
6 lines
(5 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
DomainValidationConfig
}
from
"../../types/rule"
;
/** * Validates domain names with configurable options */
export
declare
function
validateDomain
(
value
:
any
,
config
?:
DomainValidationConfig
|
null
):
boolean
;