Function intersection

  • Creates an intersection shape that tries to parse the input with all provided shapes and merge parsing results.

    Type Parameters

    Parameters

    • shapes: Shapes

      The array of shapes.

    • Optional options: IssueOptions | Message

      The issue options or the issue message.

    Returns IntersectionShape<Shapes>