A Fragment which represents a method.

Hierarchy

Constructors

Properties

inputs: readonly ParamType[]

The inputs for the fragment.

payable: boolean

If the function can be sent value during invocation.

The type of the fragment.

Methods

  • Returns a string representation of this fallback as %%format%%.

    Parameters

    Returns string

  • Returns true if %%value%% is an [[ErrorFragment]].

    Parameters

    • value: any

    Returns value is ErrorFragment

  • Returns true if %%value%% is an [[EventFragment]].

    Parameters

    • value: any

    Returns value is EventFragment

  • Returns true and provides a type guard if %%value%% is a FallbackFragment.

    Parameters

    • value: any

    Returns value is FallbackFragment

  • Returns true if %%value%% is a [[FunctionFragment]].

    Parameters

    • value: any

    Returns value is FunctionFragment

  • Returns true if %%value%% is a [[StructFragment]].

    Parameters

    • value: any

    Returns value is StructFragment

Generated using TypeDoc