@fimbul-works/vec
Version:
A comprehensive TypeScript vector math library providing 2D, 3D, and 4D vector operations with a focus on performance and type safety.
8 lines (7 loc) • 313 B
TypeScript
import type { ArrayVector2D } from "./types.js";
/**
* Checks if a vector has infinite components.
* @param {ArrayVector2D} xy - Vector as `[x, y]`
* @returns {ArrayVector2D} `true` if the vector has infinite components, `false` otherwise
*/
export declare const isInfinite2D: (xy: ArrayVector2D) => boolean;