A Fragment which represents a structure.

Hierarchy

Constructors

Properties

inputs: readonly ParamType[]

The inputs for the fragment.

name: string

The name of the fragment.

The type of the fragment.

Methods

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

    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 StructFragment.

    Parameters

    • value: any

    Returns value is FunctionFragment

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

    Parameters

    • value: any

    Returns value is StructFragment

Generated using TypeDoc