* Gets or sets the locale instance to use for formatting and parsing * string values. The locale object should be provided by the * vega-format library, and include methods such as format, timeFormat, * utcFormat, timeParse, and utcParse. * @param {object} _ - The locale instance to use.
(_)
| 108761 | * @return {object|Dataflow} - If no arguments are provided, returns |
| 108762 | * the current locale instance. Otherwise returns this Dataflow instance. |
| 108763 | */ locale (_) { |
| 108764 | if (arguments.length) { |
| 108765 | this._locale = _; |
| 108766 | return this; |
| 108767 | } else return this._locale; |
| 108768 | }, |
| 108769 | /** |
| 108770 | * Get or set the logger instance used to log messages. If no arguments are |
| 108771 | * provided, returns the current logger instance. Otherwise, sets the logger |
nothing calls this directly
no test coverage detected