Skip to content

Commit b93033f

Browse files
committed
handle typed arrays in transform filter value
1 parent 43d0780 commit b93033f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transforms/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ exports.calcTransform = function(gd, trace, opts) {
222222
function getFilterFunc(opts, d2c, targetCalendar) {
223223
var operation = opts.operation;
224224
var value = opts.value;
225-
var hasArrayValue = Array.isArray(value);
225+
var hasArrayValue = Lib.isArrayOrTypedArray(value);
226226

227227
function isOperationIn(array) {
228228
return array.indexOf(operation) !== -1;

0 commit comments

Comments
 (0)