UNPKG
@toast-ui/chart
Version:
latest (4.6.1)
4.6.1
4.5.0
4.4.3
4.4.2
4.4.1
4.4.0
4.3.6
4.3.5
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
4.2.1
4.2.0
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0-beta.5
4.0.0-beta.4
4.0.0-beta.3
4.0.0-beta.1
4.0.0-beta.0
4.0.0-bata.2
4.0.0-alpha.4
4.0.0-alpha.3
4.0.0-alpha.2
4.0.0-alpha.1
4.0.0-alpha.0
TOAST UI Application: Chart
ui.toast.com
nhn/tui.chart
@toast-ui/chart
/
dist
/
esm
/
helpers
/
plot.js
5 lines
(4 loc)
•
198 B
JavaScript
View Raw
1
2
3
4
5
import
{ isUndefined }
from
"./utils"
;
export
function
isExistPlotId
(
plots, data
) {
return
plots.
some
(
(
{ id: bandId }
) =>
!
isUndefined
(bandId) && !
isUndefined
(data.
id
) && bandId === data.
id
); }