UNPKG

@antv/f2

Version:

Charts for mobile visualization.

18 lines 482 B
import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper"; export default function (callback, that) { var index = -1; var _iterator = _createForOfIteratorHelper(this), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var node = _step.value; if (callback.call(that, node, ++index, this)) { return node; } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } }