validate-robust-sequence
Tests if an array is an increasing non-overlapping sequence
Example
var testSequence = console
Output:
true false
Install
npm install validate-robust-sequence
API
require("validate-robust-sequence")(seq)
Tests if a sequence of numbers is an increasing non-overlapping sequence
seq
is an array of floats
Returns true
if the sequence is a robust sequence, false
otherwise
Credits
(c) 2014 Mikola Lysenko. MIT License