Skip to content

charton API


charton API / @chart-on/ui / index / searchIndicators

Function: searchIndicators() ​

searchIndicators(defs, query, options?): IndicatorDef<Record<string, InputValue>>[]

Defined in: core/src/indicators/search.ts:32

Definitions matching query, best first; equal ranks keep their order. All of them for an empty query. nameOf gives the names shown (see matchRank).

Parameters ​

defs ​

readonly IndicatorDef<Record<string, InputValue>>[]

query ​

string

options? ​

IndicatorSearchOptions = {}

Returns ​

IndicatorDef<Record<string, InputValue>>[]