Library "Objects" A collection of frequently used objects functions in my scripts.
method getType(this) Identifies an object's type. Namespace types: series int, simple int, input int, const int Parameters: this (int): Object to inspect. Returns: A string representation of the type.
method getType(this) Namespace types: series float, simple float, input float, const float Parameters: this (float)
method getType(this) Namespace types: series bool, simple bool, input bool, const bool Parameters: this (bool)
method getType(this) Namespace types: series color, simple color, input color, const color Parameters: this (color)
method getType(this) Namespace types: series string, simple string, input string, const string Parameters: this (string)
method getType(this) Namespace types: series line Parameters: this (line)
method getType(this) Namespace types: series linefill Parameters: this (linefill)
method getType(this) Namespace types: series box Parameters: this (box)
method getType(this) Namespace types: series polyline, series polyline, series polyline, series polyline Parameters: this (polyline)
method getType(this) Namespace types: series label Parameters: this (label)
method getType(this) Namespace types: series table Parameters: this (table)
method getType(this) Namespace types: chart.point Parameters: this (chart.point)
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.