@antv/util
Version:
<h1 align="center">@antv/util</h1>
10 lines (9 loc) • 329 B
TypeScript
import type { PathArray } from '../types';
/**
* Iterates an array to check if it's a `PathArray`
* with all C (cubic bezier) segments.
*
* @param {string | PathArray} path the `Array` to be checked
* @returns {boolean} iteration result
*/
export declare function isCurveArray(path: string | PathArray): path is PathArray;