equilateral#

static vectorious.equilateral(x, y)#

Note

Deprecated.

Asserts if x and y have the same length

Arguments:
Throws:

Error – lengths x and y do not match

Examples:

import { equilateral } from 'vectorious/core/equilateral';

equilateral([1, 2, 3], [1, 2]); // Error: lengths 3 and 2 do not match