I have seen such function:
public func highlightValues(highs: [ChartHighlight]?)
{
// set the indices to highlight
_indicesToHightlight = highs ?? [ChartHighlight]();
// redraw the chart
setNeedsDisplay();
}
What's the purpose of ??
here? I searched, but it seems searching ??
is hard to find a proper answer.