We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa3a02e commit 11d3c95Copy full SHA for 11d3c95
1 file changed
static/extensions/DogeisCut/dogeiscutObject.js
@@ -62,6 +62,14 @@
62
if (x instanceof jwArray.Type) {
63
return new ObjectType(Object.fromEntries(x.array.map((v,i)=>[i+1,v])))
64
}
65
+ if (vm.dogeiscutSet) {
66
+ if (x instanceof vm.dogeiscutSet.Type) {
67
+ return new ObjectType(Object.fromEntries(Array.from(x.set).map((v,i)=>[i+1,v])))
68
+ }
69
70
+ if (x instanceof Set) {
71
+ return new ObjectType(Object.fromEntries(Array.from(x).map((v,i)=>[i+1,v])))
72
73
if (isArray(x)) {
74
return new ObjectType(Object.fromEntries(x.map((v,i)=>[i+1,v])))
75
0 commit comments