UNPKG

@antv/util

Version:

> AntV 底层依赖的工具库,不建议在自己业务中使用。

10 lines (9 loc) 329 B
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;