arimelody/OpenTerminal

Fix palette setting

Closed this issue · 3 comments

is there much benefit to distinguishing palettes as arrays this way? afaik Array.isArray() is more widely used

loudar commented

Not specifically, but personally I like checking .constructor more because you can use the same way of checking for any class and not just arrays, but that's a style thing.

should be good!