firstBarAtOrAfter
Documentation / @elitechart/core / firstBarAtOrAfter
Defined in: compare/compare-types.ts:59
Find the first bar whose time >= target. O(log N) binary search.
Returns -1 when every bar is before target.
Parameters
bars
readonly Bar[]
target
Returns
number