Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use Lib.isArrayOrTypedArray instead of Array.isArray
  • Loading branch information
emilykl committed Oct 27, 2025
commit 29f678916635731dfd5da4ccae02c2fc3a9b598c
2 changes: 1 addition & 1 deletion src/components/fx/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function getPointKey(astr) {

function getPointData(val, pointNumber) {
if (Array.isArray(pointNumber)) {
if (Array.isArray(val) && Array.isArray(val[pointNumber[0]])) {
if (Lib.isArrayOrTypedArray(val) && Lib.isArrayOrTypedArray(val[pointNumber[0]])) {
return val[pointNumber[0]][pointNumber[1]];
}
} else {
Expand Down