- Preparing search index...
- The search index is not available
TESSA Web API
Methods
capitalize
- capitalize(value: string): string
-
Returns string
- capitalize(value: null | string): string | null
-
Returns string | null
- capitalize(value: undefined | string): string | undefined
-
Parameters
-
value: undefined | string
Returns string | undefined
- capitalize(value: undefined | null | string): string | null | undefined
-
Parameters
-
value: undefined | null | string
Returns string | null | undefined
equals
- equals(a: undefined | null | string, b: undefined | null | string, ignoreCase?: boolean): boolean
-
Parameters
-
a: undefined | null | string
-
b: undefined | null | string
-
ignoreCase: boolean = true
Returns boolean
format
- format(displayFormat: string, ...values: readonly string[]): string
-
Parameters
-
displayFormat: string
-
Rest
...values: readonly string[]
Returns string
isNullOrWhiteSpace
- isNullOrWhiteSpace(value: undefined | null | string): boolean
-
Parameters
-
value: undefined | null | string
Returns boolean
Returns a capitalized value, i.e. first letter in upper case, other letters in lower case. Empty strings,
null
andundefined
are returned as-is.Returns
Capitalized value, i.e. first letter in upper case, other letters in lower case.