Index
Enumerations
Type aliases
Functions
Type aliases
TypeDef
Ƭ TypeDef: object
Defined in codec/createType.ts:28
Type declaration
Functions
createClass
▸ createClass(type: Text | string, value?: any): Constructor
Defined in codec/createType.ts:195
Parameters:
| Name | Type |
|---|---|
| type | Text | string |
Optional value | any |
Returns: Constructor
createType
▸ createType(type: Text | string, value?: any): Codec
Defined in codec/createType.ts:201
Parameters:
| Name | Type |
|---|---|
| type | Text | string |
Optional value | any |
Returns: Codec
getTypeClass
▸ getTypeClass(value: TypeDef): Constructor
Defined in codec/createType.ts:139
Parameters:
| Name | Type |
|---|---|
| value | TypeDef |
Returns: Constructor
getTypeDef
▸ getTypeDef(_type: Text | string, name?: undefined | string): TypeDef
Defined in codec/createType.ts:84
Parameters:
| Name | Type |
|---|---|
| _type | Text | string |
Optional name | undefined | string |
Returns: TypeDef
typeSplit
▸ typeSplit(type: string): Array<string>
Defined in codec/createType.ts:36
Parameters:
| Name | Type |
|---|---|
| type | string |
Returns: Array<string>