tryes to figure out if a given sequence looks increasing


Import lib.

const isBullish = require('is-bullish')

If last value is lower than first value it will return false.

isBullish([1, 20, 400, 0]) // false

Otherwise it compares the mean of the first half and compares it to the mean of second half.

isBullish([1, 2, 4, 3]) // true

See also