Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
anonymous | readonly | boolean | Whether this event is anonymous. | - |
inputs | readonly | readonly ParamType [] | The inputs for the fragment. | NamedFragment .inputs |
name | readonly | string | The name of the fragment. | NamedFragment .name |
type | readonly | FragmentType | The type of the fragment. | NamedFragment .type |
string
format
.
Parameter | Type |
---|---|
format ? | FormatType |
string
NamedFragment
.format
obj
.
Parameter | Type |
---|---|
obj | any |
EventFragment
NamedFragment
.from
name
and params
.
Parameter | Type |
---|---|
name | string |
params ? | any [] |
string
value
is a ConstructorFragment.
Parameter | Type |
---|---|
value | any |
value is ConstructorFragment
NamedFragment
.isConstructor
value
is an ErrorFragment.
Parameter | Type |
---|---|
value | any |
value is ErrorFragment
NamedFragment
.isError
value
is an EventFragment.
Parameter | Type |
---|---|
value | any |
value is EventFragment
NamedFragment
.isEvent
true
and provides a type guard if value
is an EventFragment.
Parameter | Type |
---|---|
value | any |
value is EventFragment
value
is a FunctionFragment.
Parameter | Type |
---|---|
value | any |
value is FunctionFragment
NamedFragment
.isFunction
value
is a StructFragment.
Parameter | Type |
---|---|
value | any |
value is StructFragment
NamedFragment
.isStruct