• Verify that data is an object of x,y arrays. Throws an error if it's not.

    Parameters

    • data: unknown
    • options: { minLength?: number } = {}
      • OptionalminLength?: number

        Minimum length.

    Returns asserts data is { x: AnyArray; y: AnyArray }