StringTypeConverter Class

String Type Converter.

Extends

Implements

Methods

Name Description
contains(valueA: string, valueB: string, caseSensitive: boolean): boolean    
convertFromString(value: string): string    
convertToString(value?: Primitives.String): string    
doesNotContain(valueA: string, valueB: string, caseSensitive: boolean): boolean    
endsWith(valueA: string, valueB: string, caseSensitive: boolean): boolean    
isContainedIn(valueA: string, valueB: string, caseSensitive: boolean): boolean    
isEmpty(valueA: string): boolean    
isNotContainedIn(valueA: string, valueB: string, caseSensitive: boolean): boolean    
isNotEmpty(valueA: string): boolean    
sortCompare(valueA: Primitives.String, valueB: Primitives.String, ignoreCase?: false | true): number    
startsWith(valueA: string, valueB: string, caseSensitive: boolean): boolean    

Inherited methods

Name Inherited from Description
convertFromStringToPropertyValue(value: string, _propertyRecord?: PropertyRecord): Promise<PropertyValue> TypeConverter  
convertPropertyToString(_propertyDescription: PropertyDescription, value?: Primitives.Value): string | Promise<string> TypeConverter  
isEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean TypeConverter  
isNotEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean TypeConverter  

Properties

Name Type Description
isStringType Accessor ReadOnly boolean    

Inherited properties

Name Type Inherited from Description
isBooleanType Accessor ReadOnly boolean TypeConverter  
isLessGreaterType Accessor ReadOnly boolean TypeConverter  
isNullableType Accessor ReadOnly boolean TypeConverter  

Defined in

Last Updated: 20 September, 2019