Functions

<Const> fromParamType

fromParamType(paramType: ParamType): string

Defined in spec/paramType/format.ts:72

Convert a ParamType to its string representation.

Parameters:

Name Type Description
paramType ParamType ParamType instance to convert

Returns: string


<Const> toParamType

toParamType(type: string, indexed?: undefined | false | true): ParamType

Defined in spec/paramType/format.ts:15

Convert a string to a ParamType.

Parameters:

Name Type Description
type string Type to convert.
Optional indexed undefined \ false \ true Whether the ParamType is indexed or not.

Returns: ParamType


results matching ""

    No results matching ""