UNPKG

victory-native

Version:

[![Victory Native](https://oss.nearform.com/api/banner?badge=victory&text=victory+native&bg=9c2f1e)](https://commerce.nearform.com/open-source/victory-native/)

9 lines (8 loc) 338 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cleanPointsArray = void 0; /** * Filters out points with missing y value, used for interpolating missing data. */ const cleanPointsArray = (points) => points.filter((point) => typeof point.y === "number"); exports.cleanPointsArray = cleanPointsArray;