Methods
# getValueFormatByType(value) → {string|number|boolean}
Converts a string value to its appropriate type while preserving data integrity
Parameters:
| Name | Type | Description |
|---|---|---|
value |
string
|
The input value to convert |
The converted value
string
|
number
|
boolean
# hasContent(values) → {boolean}
Checks if a value array contains any non-empty values
Parameters:
| Name | Type | Description |
|---|---|---|
values |
Array
|
Array to check for content |
True if array has any non-empty values
boolean
# trimPropertyName(shouldTrimAll, propertyName) → {string}
Removes whitespace from property names based on configuration
Parameters:
| Name | Type | Description |
|---|---|---|
shouldTrimAll |
boolean
|
If true, removes all whitespace, otherwise only trims edges |
propertyName |
string
|
The property name to process |
The processed property name
string