Constructors
-
new FieldsIndex(properties)
-
Parameterproperties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class |
---|---|---|---|
Field[]|Object[] | An array of date fields or field json objects. more details | FieldsIndex |
Property Details
-
An array of date fields or field json objects.
- Default Value:[]
Method Overview
Name | Return Type | Summary | Class |
---|---|---|---|
Field | Returns a field with the specified field name. more details | FieldsIndex | |
Boolean | Checks if a field with the specified field name exists in the layer. more details | FieldsIndex | |
Boolean | Checks if a field with the specified field name is a date field. more details | FieldsIndex |
Method Details
-
get(fieldName){Field}
-
Returns a field with the specified field name.
ParameterfieldName StringThe name of the field. The name is case-insensitive.
ReturnsType Description Field Returns a field with a given name.