Methods
Abstract canConvertFrom
- canConvertFrom(srcType: Type): boolean
-
Parameters
Returns boolean
Abstract convertFrom
- convertFrom(obj: any, srcType: Type): any
fromString
- fromString(str: string): T | never
-
Parameters
Returns T
|
never
Abstract inferInstanceOf
- inferInstanceOf(obj: any): number
-
Parameters
Returns number
Abstract isValid
- isValid(obj: object): boolean
-
Parameters
Returns boolean
toString
-
Parameters
Returns string
tryFromString
- tryFromString(str: string): T | null
-
Parameters
Returns T
|
null