Function optionStructTag

  • Creates a new StructTag for the Option type with the specified type argument. This can help in defining a specific instance of an Option type in your application.

    Parameters

    • typeArg: TypeTag

      The type tag that specifies the type of the value contained in the Option.

    Returns StructTag