Module var
Other Functions
Variable New Functions
Other Functions
varGetOneOfOrElse
- varGetOneOfOrElse<T, D>(list: T[], value: T, defaultValue?: D): T | D
-
Type parameters
Parameters
-
list: T[]
-
value: T
-
defaultValue: D = ...
Returns T
|
D
varGetRawType
- varGetRawType(value: any): string
-
Parameters
Returns string
varGetType
- varGetType(value: any): string
-
Parameters
Returns string
Variable New Functions
newError
- newError(message: any, cause?: any, name?: string): Error
-
Parameters
-
message: any
-
Optional cause: any
-
Optional name: string
Returns Error
oneOfOrElse
Get on from list or other value
0.0.86