TypeConverter
Hierarchy
- TypeConverter
Implemented by
- ArrayConverter
- ClassConverter
- FunctionConverter
- LiteralConverter
- NativeConverter
- NilConverter
- ObjectConverter
- PrimitiveConverter
- PropsOfConverter
- ReferenceConverter
- TupleConverter
- TypeOfConverter
- UnionConverter
- UnknownConverter
- UnrecognizedConverter
Index
Methods
Methods
convert
▸ convert(reflectedType?
: any, converter?
: Converter): Type
Parameters:
Name | Type |
---|---|
reflectedType? | any |
converter? | Converter |
Returns: Type
▸ convert(reflectedType?
: any, converter?
: Converter): Type
Parameters:
Name | Type |
---|---|
reflectedType? | any |
converter? | Converter |
Returns: Type
isConvertible
▸ isConvertible(reflectedType
: any, converter?
: Converter): boolean
Parameters:
Name | Type |
---|---|
reflectedType | any |
converter? | Converter |
Returns: boolean
▸ isConvertible(reflectedType
: any, converter?
: Converter): boolean
Parameters:
Name | Type |
---|---|
reflectedType | any |
converter? | Converter |
Returns: boolean
reflect
▸ reflect(reflectedType?
: any, converter?
: Converter): Type
Parameters:
Name | Type |
---|---|
reflectedType? | any |
converter? | Converter |
Returns: Type
▸ reflect(reflectedType?
: any, converter?
: Converter): Type
Parameters:
Name | Type |
---|---|
reflectedType? | any |
converter? | Converter |
Returns: Type