Class: Validator

Oracle® Fusion Middleware Oracle JavaScript Extension Toolkit (JET)
12c (12.1.4)

E54107-01

QuickNav

oj. Validator

Constructor

new Validator()

Source:

Methods

getHint() → {*}

Returns a hint that describes the validator rule.
Source:
Returns:
a hint string or null
Type
*

Init()

Initializes validator instance with the set options
Source:

validate(value) → {*}

Vaidates the value.
Parameters:
Name Type Description
value Object to be validated
Source:
Throws:
Error if validation fails
Returns:
a boolean true if validation passes.
Type
*