NumericTypeConverterBase Class
Base Numeric Type Converter.
Extends
Extended by
Implements
Methods
| Name | Description | |
|---|---|---|
| constructor(): NumericTypeConverterBase | ||
| isGreaterThan(a: Primitives.Numeric, b: Primitives.Numeric): boolean | Determines if a primitive values is greater than another primitive value | |
| isGreaterThanOrEqualTo(a: Primitives.Numeric, b: Primitives.Numeric): boolean | Determines if a primitive values is greater than or equal to another primitive value | |
| isLessThan(a: Primitives.Numeric, b: Primitives.Numeric): boolean | Determines if a primitive values is less than another primitive value | |
| isLessThanOrEqualTo(a: Primitives.Numeric, b: Primitives.Numeric): boolean | Determines if a primitive values is less than or equal to another primitive value | |
| sortCompare(a: Primitives.Numeric, b: Primitives.Numeric, _ignoreCase?: boolean): number | Sort function for two primitive values |
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| convertFromString(_value: string): undefined | ConvertedPrimitives.Value | Promise<Value | undefined> Inherited | TypeConverter |
| convertFromStringToPropertyValue(value: string, propertyRecord?: PropertyRecord): Promise<PropertyValue> Inherited | TypeConverter | Converts a string with a property record to a property value |
| convertFromStringWithOptions(value: string, _options?: [key: string]: any): undefined | ConvertedPrimitives.Value | Promise<Value | undefined> Inherited | TypeConverter |
| convertPropertyToString(propertyDescription: PropertyDescription, value?: Primitives.Value): string | Promise<string> Inherited | TypeConverter | Converts a value associated with a property description to a string |
| convertToString(value?: Primitives.Value): string | Promise<string> Inherited | TypeConverter | Converts a primitive value to a string |
| convertToStringWithOptions(value?: Primitives.Value, _options?: [key: string]: any): string | Promise<string> Inherited | TypeConverter | Default implementation just calls convertToString with no options |
| isEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean Inherited | TypeConverter | Determines if two primitive values are equal |
| isNotEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean Inherited | TypeConverter | Determines if two primitive values are not equal |
| isNotNull(value: Primitives.Value): boolean Inherited | TypeConverter | Determines if a primitive value is not null or not undefined |
| isNull(value: Primitives.Value): boolean Inherited | TypeConverter | Determines if a primitive value is null or undefined |
Properties
| Name | Type | Description | |
|---|---|---|---|
| isLessGreaterType Accessor ReadOnly | boolean | Determines if the converter is for a numeric type |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| isBooleanType Accessor Inherited ReadOnly | boolean | TypeConverter | Determines if the converter is for a boolean type |
| isNullableType Accessor Inherited ReadOnly | boolean | TypeConverter | Determines if the converter is for a nullable type |
| isStringType Accessor Inherited ReadOnly | boolean | TypeConverter | Determines if the converter is for a string type |
Defined in
Last Updated: 17 September, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.