ts-predicate
Version:
TypeScript predicates and assertions library
39 lines (38 loc) • 811 B
TypeScript
/**
* TypeHint
*
* @class
*/
declare class TypeHint {
/**
* GetBaseType
*
* @description get the base type of a value.
* @public
* @static
* @param {unknown} value the value
* @return {string} string
*/
static GetBaseType(value: unknown): string;
/**
* GetDetailedType
*
* @description get the detailed type of a value.
* @public
* @static
* @param {unknown} value the value
* @return {string} string
*/
static GetDetailedType(value: unknown): string;
/**
* GetName
*
* @description Get the name of a value.
* @public
* @static
* @param {unknown} value the value
* @return {string|undefined} a string or nothing
*/
static GetName(value: unknown): string | undefined;
}
export { TypeHint };