▸ isArithmeticSequence(a
: NumberLike[]): boolean
A function that checks whether a provided array contains numbers in an arithmetic sequence.
remarks
If the provided array has a length of 0 or 1, true is returned.
#
Parameters:Name | Type |
---|---|
a | NumberLike[] |
Returns: boolean
boolean - true or false result.
Defined in: safe/array/isArithmeticSequence.ts:13