p.location-badge.
exported from angular2/forms
defined in angular2/src/forms/validators.js (line 16)
:markdown
Provides a set of validators used by form controls.
# Example
```
var loginControl = new Control("", Validators.required)
```
.l-main-section
h2 Members
.l-sub-section
h3 array
pre.prettyprint
code.
array(c:modelModule.ControlArray)
:markdown
.l-sub-section
h3 compose
pre.prettyprint
code.
compose(validators:List<Function>)
:markdown
.l-sub-section
h3 group
pre.prettyprint
code.
group(c:modelModule.ControlGroup)
:markdown
.l-sub-section
h3 nullValidator
pre.prettyprint
code.
nullValidator(c:any)
:markdown
.l-sub-section
h3 required
pre.prettyprint
code.
required(c:modelModule.Control)
:markdown