Function array

  • Creates the unconstrained array shape.

    Parameters

    Returns ArrayShape<[], Shape>

  • Creates the array shape with elements that conform the element shape.

    Type Parameters

    • ValueShape extends AnyShape

      The shape of an array element.

    Parameters

    • shape: ValueShape

      The shape of an array element.

    • Optional options: IssueOptions | Message

      The issue options or the issue message.

    Returns ArrayShape<[], ValueShape>