Class: Type
Defined in: index.ts:20
The class for deep checking Types
Constructors
Constructor
new Type(
value:unknown,parent:null|Type):Type
Defined in: index.ts:50
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
value | unknown | undefined | The value to generate a deep Type of |
parent | null | Type | null | The parent value used in recursion |
Returns
Type
Properties
is
is:
string
Defined in: index.ts:29
The shallow type of this
value
readonlyvalue:unknown
Defined in: index.ts:24
The value to generate a deep Type of
Methods
toString()
toString():
string
Defined in: index.ts:67
The full type string generated.
Returns
string
resolve()
staticresolve(value:any):string
Defined in: index.ts:140
Resolves the type name that defines the input.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | any | The value to get the type name of |
Returns
string