- Preparing search index...
- The search index is not available
TESSA Web API
Methods
enumFromString
- enumFromString<T>(enumeration: T, value: string, options?: {
ignoreCase?: boolean;
}): number
-
Parameters
-
enumeration: T
-
value: string
-
Optional
options: {
ignoreCase?: boolean;
}
-
Optional
ignoreCase?: boolean
Returns number
- enumFromString<T>(enumeration: T, value: undefined | null | string, options?: {
ignoreCase?: boolean;
}): number | null
-
Parameters
-
enumeration: T
-
value: undefined | null | string
-
Optional
options: {
ignoreCase?: boolean;
}
-
Optional
ignoreCase?: boolean
Returns number | null
enumToString
- enumToString<T>(enumeration: T, value: number, options?: {
lowerCase?: boolean;
}): string
-
Parameters
-
enumeration: T
-
value: number
-
Optional
options: {
lowerCase?: boolean;
}
-
Optional
lowerCase?: boolean
Returns string
- enumToString<T>(enumeration: T, value: undefined | null | number, options?: {
lowerCase?: boolean;
}): string | null
-
Parameters
-
enumeration: T
-
value: undefined | null | number
-
Optional
options: {
lowerCase?: boolean;
}
-
Optional
lowerCase?: boolean
Returns string | null
hasMethod
- hasMethod<M, T>(obj: unknown, ...methodNames: M): obj is T
-
Type Parameters
-
M extends (string | symbol)[]
-
T = { [ Key in string | symbol]: Function }
Parameters
-
obj: unknown
-
Rest
...methodNames: M
Returns obj is T
hasProp
- hasProp<P, T>(obj: unknown, ...propNames: P): obj is T
-
Type Parameters
-
P extends (string | symbol)[]
-
T = { [ Key in string | symbol]: unknown }
Parameters
-
obj: unknown
-
Rest
...propNames: P
Returns obj is T
isIterable
- isIterable<T>(obj: unknown): obj is Iterable<T>
-
Returns obj is Iterable<T>
isIterableWithKeyValue
- isIterableWithKeyValue<T, M>(values: Iterable<M>): boolean
-
Type Parameters
-
T
-
M = readonly [string, T]
Returns boolean
isPromiseLike
- isPromiseLike<T>(obj: unknown): obj is Promise<T>
-
Returns obj is Promise<T>