Util
pentaho.type. Util
A singleton class that contains utilities for using types and its instances.
AMD Module
require(["pentaho/type/util"], function(Util) { /* code goes here */ });
Constructor
Name | Description |
---|---|
new Util() | This class was not designed to be constructed directly. |
Methods
Name | Description |
---|---|
combineErrors(errors, errorsAdd) : Array.<pentaho.type.ValidationError> | Combines two validation error lists. |
normalizeErrors(errors) : Array.<pentaho.type.ValidationError> | Normalizes a validation errors result. |
Constructor Details
new Util() |
---|
This class was not designed to be constructed directly. |
Methods Details
combineErrors(errors, errorsAdd) : Array.<pentaho.type.ValidationError> | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Combines two validation error lists. Source: javascript/web/pentaho/type/util.js, line 53
|
normalizeErrors(errors) : Array.<pentaho.type.ValidationError> | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Normalizes a validation errors result. Source: javascript/web/pentaho/type/util.js, line 41
|