Skip to main content
A Fragment which represents a structure.

Extends

Properties

Methods

format()

Returns a string representation of this struct as format.

Returns

string

Overrides

NamedFragment.format

Source

abi/fragments.ts:1778

from()

Returns a new StructFragment for obj.

Parameters

Returns

StructFragment

Overrides

NamedFragment.from

Source

abi/fragments.ts:1785

isConstructor()

Returns true if value is a ConstructorFragment.

Parameters

Returns

value is ConstructorFragment

Inherited from

NamedFragment.isConstructor

Source

abi/fragments.ts:1122

isError()

Returns true if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Inherited from

NamedFragment.isError

Source

abi/fragments.ts:1129

isEvent()

Returns true if value is an EventFragment.

Parameters

Returns

value is EventFragment

Inherited from

NamedFragment.isEvent

Source

abi/fragments.ts:1136

isFragment()

Returns true and provides a type guard if value is a StructFragment.

Parameters

Returns

value is FunctionFragment

Source

abi/fragments.ts:1806

isFunction()

Returns true if value is a FunctionFragment.

Parameters

Returns

value is FunctionFragment

Inherited from

NamedFragment.isFunction

Source

abi/fragments.ts:1143

isStruct()

Returns true if value is a StructFragment.

Parameters

Returns

value is StructFragment

Inherited from

NamedFragment.isStruct

Source

abi/fragments.ts:1150