Constructors
constructor
- new ParamType(constructorGuard: any, params: any): ParamType
-
Parameters
-
constructorGuard: any
-
params: any
Properties
Readonly
_isParamType
_isParamType: boolean
Readonly
arrayChildren
Readonly
arrayLength
arrayLength: number
Readonly
baseType
baseType: string
Readonly
components
Readonly
indexed
indexed: boolean
Readonly
name
name: string
Readonly
type
type: string
Methods
format
- format(format?: string): string
-
Returns string
Static
from
- from(value: string | ParamType | JsonFragmentType, allowIndexed?: boolean): ParamType
-
Parameters
-
value: string | ParamType | JsonFragmentType
-
Optional
allowIndexed: boolean
Static
fromObject
- fromObject(value: ParamType | JsonFragmentType): ParamType
-
Static
fromString
- fromString(value: string, allowIndexed?: boolean): ParamType
-
Parameters
-
value: string
-
Optional
allowIndexed: boolean
Static
isParamType
- isParamType(value: any): value is ParamType
-