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

    Parameters

    • data: unknown
    • options: {
          minLength?: number;
      } = {}
      • Optional minLength?: number

        Minimum length.

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