Skip to content

v4b

Interface representing its WGSL vector type counterpart: vec4<bool>. A vector with 4 elements of type bool

[n: number]: boolean

readonly [$internal]: true

packages/typegpu/src/data/wgslTypes.ts:426


readonly [unscopables]: object

Is an object whose properties have the value ‘true’ when they will be absent when used in a ‘with’ statement.

[key: number]: undefined | boolean

optional [iterator]: boolean

readonly optional [unscopables]: boolean

Is an object whose properties have the value ‘true’ when they will be absent when used in a ‘with’ statement.

optional at: boolean

optional concat: boolean

optional copyWithin: boolean

optional entries: boolean

optional every: boolean

optional fill: boolean

optional filter: boolean

optional find: boolean

optional findIndex: boolean

optional findLast: boolean

optional findLastIndex: boolean

optional flat: boolean

optional flatMap: boolean

optional forEach: boolean

optional includes: boolean

optional indexOf: boolean

optional join: boolean

optional keys: boolean

optional lastIndexOf: boolean

optional length: boolean

Gets or sets the length of the array. This is a number one higher than the highest index in the array.

optional map: boolean

optional pop: boolean

optional push: boolean

optional reduce: boolean

optional reduceRight: boolean

optional reverse: boolean

optional shift: boolean

optional slice: boolean

optional some: boolean

optional sort: boolean

optional splice: boolean

optional toLocaleString: boolean

optional toReversed: boolean

optional toSorted: boolean

optional toSpliced: boolean

optional toString: boolean

optional unshift: boolean

optional values: boolean

optional with: boolean

Tuple4.[unscopables]

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.symbol.wellknown.d.ts:97


0: boolean

Tuple4.0


1: boolean

Tuple4.1


2: boolean

Tuple4.2


3: boolean

Tuple4.3


a: boolean

packages/typegpu/src/data/wgslTypes.ts:436


aa: v2b

Swizzle4.aa


aaa: v3b

Swizzle4.aaa


aaaa: v4b

Swizzle4.aaaa


aaab: v4b

Swizzle4.aaab


aaag: v4b

Swizzle4.aaag


aaar: v4b

Swizzle4.aaar


aab: v3b

Swizzle4.aab


aaba: v4b

Swizzle4.aaba


aabb: v4b

Swizzle4.aabb


aabg: v4b

Swizzle4.aabg


aabr: v4b

Swizzle4.aabr


aag: v3b

Swizzle4.aag


aaga: v4b

Swizzle4.aaga


aagb: v4b

Swizzle4.aagb


aagg: v4b

Swizzle4.aagg


aagr: v4b

Swizzle4.aagr


aar: v3b

Swizzle4.aar


aara: v4b

Swizzle4.aara


aarb: v4b

Swizzle4.aarb


aarg: v4b

Swizzle4.aarg


aarr: v4b

Swizzle4.aarr


ab: v2b

Swizzle4.ab


aba: v3b

Swizzle4.aba


abaa: v4b

Swizzle4.abaa


abab: v4b

Swizzle4.abab


abag: v4b

Swizzle4.abag


abar: v4b

Swizzle4.abar


abb: v3b

Swizzle4.abb


abba: v4b

Swizzle4.abba


abbb: v4b

Swizzle4.abbb


abbg: v4b

Swizzle4.abbg


abbr: v4b

Swizzle4.abbr


abg: v3b

Swizzle4.abg


abga: v4b

Swizzle4.abga


abgb: v4b

Swizzle4.abgb


abgg: v4b

Swizzle4.abgg


abgr: v4b

Swizzle4.abgr


abr: v3b

Swizzle4.abr


abra: v4b

Swizzle4.abra


abrb: v4b

Swizzle4.abrb


abrg: v4b

Swizzle4.abrg


abrr: v4b

Swizzle4.abrr


ag: v2b

Swizzle4.ag


aga: v3b

Swizzle4.aga


agaa: v4b

Swizzle4.agaa


agab: v4b

Swizzle4.agab


agag: v4b

Swizzle4.agag


agar: v4b

Swizzle4.agar


agb: v3b

Swizzle4.agb


agba: v4b

Swizzle4.agba


agbb: v4b

Swizzle4.agbb


agbg: v4b

Swizzle4.agbg


agbr: v4b

Swizzle4.agbr


agg: v3b

Swizzle4.agg


agga: v4b

Swizzle4.agga


aggb: v4b

Swizzle4.aggb


aggg: v4b

Swizzle4.aggg


aggr: v4b

Swizzle4.aggr


agr: v3b

Swizzle4.agr


agra: v4b

Swizzle4.agra


agrb: v4b

Swizzle4.agrb


agrg: v4b

Swizzle4.agrg


agrr: v4b

Swizzle4.agrr


ar: v2b

Swizzle4.ar


ara: v3b

Swizzle4.ara


araa: v4b

Swizzle4.araa


arab: v4b

Swizzle4.arab


arag: v4b

Swizzle4.arag


arar: v4b

Swizzle4.arar


arb: v3b

Swizzle4.arb


arba: v4b

Swizzle4.arba


arbb: v4b

Swizzle4.arbb


arbg: v4b

Swizzle4.arbg


arbr: v4b

Swizzle4.arbr


arg: v3b

Swizzle4.arg


arga: v4b

Swizzle4.arga


argb: v4b

Swizzle4.argb


argg: v4b

Swizzle4.argg


argr: v4b

Swizzle4.argr


arr: v3b

Swizzle4.arr


arra: v4b

Swizzle4.arra


arrb: v4b

Swizzle4.arrb


arrg: v4b

Swizzle4.arrg


arrr: v4b

Swizzle4.arrr


b: boolean

packages/typegpu/src/data/wgslTypes.ts:435


ba: v2b

Swizzle4.ba


baa: v3b

Swizzle4.baa


baaa: v4b

Swizzle4.baaa


baab: v4b

Swizzle4.baab


baag: v4b

Swizzle4.baag


baar: v4b

Swizzle4.baar


bab: v3b

Swizzle4.bab


baba: v4b

Swizzle4.baba


babb: v4b

Swizzle4.babb


babg: v4b

Swizzle4.babg


babr: v4b

Swizzle4.babr


bag: v3b

Swizzle4.bag


baga: v4b

Swizzle4.baga


bagb: v4b

Swizzle4.bagb


bagg: v4b

Swizzle4.bagg


bagr: v4b

Swizzle4.bagr


bar: v3b

Swizzle4.bar


bara: v4b

Swizzle4.bara


barb: v4b

Swizzle4.barb


barg: v4b

Swizzle4.barg


barr: v4b

Swizzle4.barr


bb: v2b

Swizzle4.bb


bba: v3b

Swizzle4.bba


bbaa: v4b

Swizzle4.bbaa


bbab: v4b

Swizzle4.bbab


bbag: v4b

Swizzle4.bbag


bbar: v4b

Swizzle4.bbar


bbb: v3b

Swizzle4.bbb


bbba: v4b

Swizzle4.bbba


bbbb: v4b

Swizzle4.bbbb


bbbg: v4b

Swizzle4.bbbg


bbbr: v4b

Swizzle4.bbbr


bbg: v3b

Swizzle4.bbg


bbga: v4b

Swizzle4.bbga


bbgb: v4b

Swizzle4.bbgb


bbgg: v4b

Swizzle4.bbgg


bbgr: v4b

Swizzle4.bbgr


bbr: v3b

Swizzle4.bbr


bbra: v4b

Swizzle4.bbra


bbrb: v4b

Swizzle4.bbrb


bbrg: v4b

Swizzle4.bbrg


bbrr: v4b

Swizzle4.bbrr


bg: v2b

Swizzle4.bg


bga: v3b

Swizzle4.bga


bgaa: v4b

Swizzle4.bgaa


bgab: v4b

Swizzle4.bgab


bgag: v4b

Swizzle4.bgag


bgar: v4b

Swizzle4.bgar


bgb: v3b

Swizzle4.bgb


bgba: v4b

Swizzle4.bgba


bgbb: v4b

Swizzle4.bgbb


bgbg: v4b

Swizzle4.bgbg


bgbr: v4b

Swizzle4.bgbr


bgg: v3b

Swizzle4.bgg


bgga: v4b

Swizzle4.bgga


bggb: v4b

Swizzle4.bggb


bggg: v4b

Swizzle4.bggg


bggr: v4b

Swizzle4.bggr


bgr: v3b

Swizzle4.bgr


bgra: v4b

Swizzle4.bgra


bgrb: v4b

Swizzle4.bgrb


bgrg: v4b

Swizzle4.bgrg


bgrr: v4b

Swizzle4.bgrr


br: v2b

Swizzle4.br


bra: v3b

Swizzle4.bra


braa: v4b

Swizzle4.braa


brab: v4b

Swizzle4.brab


brag: v4b

Swizzle4.brag


brar: v4b

Swizzle4.brar


brb: v3b

Swizzle4.brb


brba: v4b

Swizzle4.brba


brbb: v4b

Swizzle4.brbb


brbg: v4b

Swizzle4.brbg


brbr: v4b

Swizzle4.brbr


brg: v3b

Swizzle4.brg


brga: v4b

Swizzle4.brga


brgb: v4b

Swizzle4.brgb


brgg: v4b

Swizzle4.brgg


brgr: v4b

Swizzle4.brgr


brr: v3b

Swizzle4.brr


brra: v4b

Swizzle4.brra


brrb: v4b

Swizzle4.brrb


brrg: v4b

Swizzle4.brrg


brrr: v4b

Swizzle4.brrr


g: boolean

packages/typegpu/src/data/wgslTypes.ts:434


ga: v2b

Swizzle4.ga


gaa: v3b

Swizzle4.gaa


gaaa: v4b

Swizzle4.gaaa


gaab: v4b

Swizzle4.gaab


gaag: v4b

Swizzle4.gaag


gaar: v4b

Swizzle4.gaar


gab: v3b

Swizzle4.gab


gaba: v4b

Swizzle4.gaba


gabb: v4b

Swizzle4.gabb


gabg: v4b

Swizzle4.gabg


gabr: v4b

Swizzle4.gabr


gag: v3b

Swizzle4.gag


gaga: v4b

Swizzle4.gaga


gagb: v4b

Swizzle4.gagb


gagg: v4b

Swizzle4.gagg


gagr: v4b

Swizzle4.gagr


gar: v3b

Swizzle4.gar


gara: v4b

Swizzle4.gara


garb: v4b

Swizzle4.garb


garg: v4b

Swizzle4.garg


garr: v4b

Swizzle4.garr


gb: v2b

Swizzle4.gb


gba: v3b

Swizzle4.gba


gbaa: v4b

Swizzle4.gbaa


gbab: v4b

Swizzle4.gbab


gbag: v4b

Swizzle4.gbag


gbar: v4b

Swizzle4.gbar


gbb: v3b

Swizzle4.gbb


gbba: v4b

Swizzle4.gbba


gbbb: v4b

Swizzle4.gbbb


gbbg: v4b

Swizzle4.gbbg


gbbr: v4b

Swizzle4.gbbr


gbg: v3b

Swizzle4.gbg


gbga: v4b

Swizzle4.gbga


gbgb: v4b

Swizzle4.gbgb


gbgg: v4b

Swizzle4.gbgg


gbgr: v4b

Swizzle4.gbgr


gbr: v3b

Swizzle4.gbr


gbra: v4b

Swizzle4.gbra


gbrb: v4b

Swizzle4.gbrb


gbrg: v4b

Swizzle4.gbrg


gbrr: v4b

Swizzle4.gbrr


gg: v2b

Swizzle4.gg


gga: v3b

Swizzle4.gga


ggaa: v4b

Swizzle4.ggaa


ggab: v4b

Swizzle4.ggab


ggag: v4b

Swizzle4.ggag


ggar: v4b

Swizzle4.ggar


ggb: v3b

Swizzle4.ggb


ggba: v4b

Swizzle4.ggba


ggbb: v4b

Swizzle4.ggbb


ggbg: v4b

Swizzle4.ggbg


ggbr: v4b

Swizzle4.ggbr


ggg: v3b

Swizzle4.ggg


ggga: v4b

Swizzle4.ggga


gggb: v4b

Swizzle4.gggb


gggg: v4b

Swizzle4.gggg


gggr: v4b

Swizzle4.gggr


ggr: v3b

Swizzle4.ggr


ggra: v4b

Swizzle4.ggra


ggrb: v4b

Swizzle4.ggrb


ggrg: v4b

Swizzle4.ggrg


ggrr: v4b

Swizzle4.ggrr


gr: v2b

Swizzle4.gr


gra: v3b

Swizzle4.gra


graa: v4b

Swizzle4.graa


grab: v4b

Swizzle4.grab


grag: v4b

Swizzle4.grag


grar: v4b

Swizzle4.grar


grb: v3b

Swizzle4.grb


grba: v4b

Swizzle4.grba


grbb: v4b

Swizzle4.grbb


grbg: v4b

Swizzle4.grbg


grbr: v4b

Swizzle4.grbr


grg: v3b

Swizzle4.grg


grga: v4b

Swizzle4.grga


grgb: v4b

Swizzle4.grgb


grgg: v4b

Swizzle4.grgg


grgr: v4b

Swizzle4.grgr


grr: v3b

Swizzle4.grr


grra: v4b

Swizzle4.grra


grrb: v4b

Swizzle4.grrb


grrg: v4b

Swizzle4.grrg


grrr: v4b

Swizzle4.grrr


readonly kind: "vec4<bool>"

use to distinguish between vectors of the same size on the type level

packages/typegpu/src/data/wgslTypes.ts:428


length: 4

Tuple4.length


r: boolean

packages/typegpu/src/data/wgslTypes.ts:433


ra: v2b

Swizzle4.ra


raa: v3b

Swizzle4.raa


raaa: v4b

Swizzle4.raaa


raab: v4b

Swizzle4.raab


raag: v4b

Swizzle4.raag


raar: v4b

Swizzle4.raar


rab: v3b

Swizzle4.rab


raba: v4b

Swizzle4.raba


rabb: v4b

Swizzle4.rabb


rabg: v4b

Swizzle4.rabg


rabr: v4b

Swizzle4.rabr


rag: v3b

Swizzle4.rag


raga: v4b

Swizzle4.raga


ragb: v4b

Swizzle4.ragb


ragg: v4b

Swizzle4.ragg


ragr: v4b

Swizzle4.ragr


rar: v3b

Swizzle4.rar


rara: v4b

Swizzle4.rara


rarb: v4b

Swizzle4.rarb


rarg: v4b

Swizzle4.rarg


rarr: v4b

Swizzle4.rarr


rb: v2b

Swizzle4.rb


rba: v3b

Swizzle4.rba


rbaa: v4b

Swizzle4.rbaa


rbab: v4b

Swizzle4.rbab


rbag: v4b

Swizzle4.rbag


rbar: v4b

Swizzle4.rbar


rbb: v3b

Swizzle4.rbb


rbba: v4b

Swizzle4.rbba


rbbb: v4b

Swizzle4.rbbb


rbbg: v4b

Swizzle4.rbbg


rbbr: v4b

Swizzle4.rbbr


rbg: v3b

Swizzle4.rbg


rbga: v4b

Swizzle4.rbga


rbgb: v4b

Swizzle4.rbgb


rbgg: v4b

Swizzle4.rbgg


rbgr: v4b

Swizzle4.rbgr


rbr: v3b

Swizzle4.rbr


rbra: v4b

Swizzle4.rbra


rbrb: v4b

Swizzle4.rbrb


rbrg: v4b

Swizzle4.rbrg


rbrr: v4b

Swizzle4.rbrr


rg: v2b

Swizzle4.rg


rga: v3b

Swizzle4.rga


rgaa: v4b

Swizzle4.rgaa


rgab: v4b

Swizzle4.rgab


rgag: v4b

Swizzle4.rgag


rgar: v4b

Swizzle4.rgar


rgb: v3b

Swizzle4.rgb


rgba: v4b

Swizzle4.rgba


rgbb: v4b

Swizzle4.rgbb


rgbg: v4b

Swizzle4.rgbg


rgbr: v4b

Swizzle4.rgbr


rgg: v3b

Swizzle4.rgg


rgga: v4b

Swizzle4.rgga


rggb: v4b

Swizzle4.rggb


rggg: v4b

Swizzle4.rggg


rggr: v4b

Swizzle4.rggr


rgr: v3b

Swizzle4.rgr


rgra: v4b

Swizzle4.rgra


rgrb: v4b

Swizzle4.rgrb


rgrg: v4b

Swizzle4.rgrg


rgrr: v4b

Swizzle4.rgrr


rr: v2b

Swizzle4.rr


rra: v3b

Swizzle4.rra


rraa: v4b

Swizzle4.rraa


rrab: v4b

Swizzle4.rrab


rrag: v4b

Swizzle4.rrag


rrar: v4b

Swizzle4.rrar


rrb: v3b

Swizzle4.rrb


rrba: v4b

Swizzle4.rrba


rrbb: v4b

Swizzle4.rrbb


rrbg: v4b

Swizzle4.rrbg


rrbr: v4b

Swizzle4.rrbr


rrg: v3b

Swizzle4.rrg


rrga: v4b

Swizzle4.rrga


rrgb: v4b

Swizzle4.rrgb


rrgg: v4b

Swizzle4.rrgg


rrgr: v4b

Swizzle4.rrgr


rrr: v3b

Swizzle4.rrr


rrra: v4b

Swizzle4.rrra


rrrb: v4b

Swizzle4.rrrb


rrrg: v4b

Swizzle4.rrrg


rrrr: v4b

Swizzle4.rrrr


w: boolean

packages/typegpu/src/data/wgslTypes.ts:432


ww: v2b

Swizzle4.ww


www: v3b

Swizzle4.www


wwww: v4b

Swizzle4.wwww


wwwx: v4b

Swizzle4.wwwx


wwwy: v4b

Swizzle4.wwwy


wwwz: v4b

Swizzle4.wwwz


wwx: v3b

Swizzle4.wwx


wwxw: v4b

Swizzle4.wwxw


wwxx: v4b

Swizzle4.wwxx


wwxy: v4b

Swizzle4.wwxy


wwxz: v4b

Swizzle4.wwxz


wwy: v3b

Swizzle4.wwy


wwyw: v4b

Swizzle4.wwyw


wwyx: v4b

Swizzle4.wwyx


wwyy: v4b

Swizzle4.wwyy


wwyz: v4b

Swizzle4.wwyz


wwz: v3b

Swizzle4.wwz


wwzw: v4b

Swizzle4.wwzw


wwzx: v4b

Swizzle4.wwzx


wwzy: v4b

Swizzle4.wwzy


wwzz: v4b

Swizzle4.wwzz


wx: v2b

Swizzle4.wx


wxw: v3b

Swizzle4.wxw


wxww: v4b

Swizzle4.wxww


wxwx: v4b

Swizzle4.wxwx


wxwy: v4b

Swizzle4.wxwy


wxwz: v4b

Swizzle4.wxwz


wxx: v3b

Swizzle4.wxx


wxxw: v4b

Swizzle4.wxxw


wxxx: v4b

Swizzle4.wxxx


wxxy: v4b

Swizzle4.wxxy


wxxz: v4b

Swizzle4.wxxz


wxy: v3b

Swizzle4.wxy


wxyw: v4b

Swizzle4.wxyw


wxyx: v4b

Swizzle4.wxyx


wxyy: v4b

Swizzle4.wxyy


wxyz: v4b

Swizzle4.wxyz


wxz: v3b

Swizzle4.wxz


wxzw: v4b

Swizzle4.wxzw


wxzx: v4b

Swizzle4.wxzx


wxzy: v4b

Swizzle4.wxzy


wxzz: v4b

Swizzle4.wxzz


wy: v2b

Swizzle4.wy


wyw: v3b

Swizzle4.wyw


wyww: v4b

Swizzle4.wyww


wywx: v4b

Swizzle4.wywx


wywy: v4b

Swizzle4.wywy


wywz: v4b

Swizzle4.wywz


wyx: v3b

Swizzle4.wyx


wyxw: v4b

Swizzle4.wyxw


wyxx: v4b

Swizzle4.wyxx


wyxy: v4b

Swizzle4.wyxy


wyxz: v4b

Swizzle4.wyxz


wyy: v3b

Swizzle4.wyy


wyyw: v4b

Swizzle4.wyyw


wyyx: v4b

Swizzle4.wyyx


wyyy: v4b

Swizzle4.wyyy


wyyz: v4b

Swizzle4.wyyz


wyz: v3b

Swizzle4.wyz


wyzw: v4b

Swizzle4.wyzw


wyzx: v4b

Swizzle4.wyzx


wyzy: v4b

Swizzle4.wyzy


wyzz: v4b

Swizzle4.wyzz


wz: v2b

Swizzle4.wz


wzw: v3b

Swizzle4.wzw


wzww: v4b

Swizzle4.wzww


wzwx: v4b

Swizzle4.wzwx


wzwy: v4b

Swizzle4.wzwy


wzwz: v4b

Swizzle4.wzwz


wzx: v3b

Swizzle4.wzx


wzxw: v4b

Swizzle4.wzxw


wzxx: v4b

Swizzle4.wzxx


wzxy: v4b

Swizzle4.wzxy


wzxz: v4b

Swizzle4.wzxz


wzy: v3b

Swizzle4.wzy


wzyw: v4b

Swizzle4.wzyw


wzyx: v4b

Swizzle4.wzyx


wzyy: v4b

Swizzle4.wzyy


wzyz: v4b

Swizzle4.wzyz


wzz: v3b

Swizzle4.wzz


wzzw: v4b

Swizzle4.wzzw


wzzx: v4b

Swizzle4.wzzx


wzzy: v4b

Swizzle4.wzzy


wzzz: v4b

Swizzle4.wzzz


x: boolean

packages/typegpu/src/data/wgslTypes.ts:429


xw: v2b

Swizzle4.xw


xww: v3b

Swizzle4.xww


xwww: v4b

Swizzle4.xwww


xwwx: v4b

Swizzle4.xwwx


xwwy: v4b

Swizzle4.xwwy


xwwz: v4b

Swizzle4.xwwz


xwx: v3b

Swizzle4.xwx


xwxw: v4b

Swizzle4.xwxw


xwxx: v4b

Swizzle4.xwxx


xwxy: v4b

Swizzle4.xwxy


xwxz: v4b

Swizzle4.xwxz


xwy: v3b

Swizzle4.xwy


xwyw: v4b

Swizzle4.xwyw


xwyx: v4b

Swizzle4.xwyx


xwyy: v4b

Swizzle4.xwyy


xwyz: v4b

Swizzle4.xwyz


xwz: v3b

Swizzle4.xwz


xwzw: v4b

Swizzle4.xwzw


xwzx: v4b

Swizzle4.xwzx


xwzy: v4b

Swizzle4.xwzy


xwzz: v4b

Swizzle4.xwzz


xx: v2b

Swizzle4.xx


xxw: v3b

Swizzle4.xxw


xxww: v4b

Swizzle4.xxww


xxwx: v4b

Swizzle4.xxwx


xxwy: v4b

Swizzle4.xxwy


xxwz: v4b

Swizzle4.xxwz


xxx: v3b

Swizzle4.xxx


xxxw: v4b

Swizzle4.xxxw


xxxx: v4b

Swizzle4.xxxx


xxxy: v4b

Swizzle4.xxxy


xxxz: v4b

Swizzle4.xxxz


xxy: v3b

Swizzle4.xxy


xxyw: v4b

Swizzle4.xxyw


xxyx: v4b

Swizzle4.xxyx


xxyy: v4b

Swizzle4.xxyy


xxyz: v4b

Swizzle4.xxyz


xxz: v3b

Swizzle4.xxz


xxzw: v4b

Swizzle4.xxzw


xxzx: v4b

Swizzle4.xxzx


xxzy: v4b

Swizzle4.xxzy


xxzz: v4b

Swizzle4.xxzz


xy: v2b

Swizzle4.xy


xyw: v3b

Swizzle4.xyw


xyww: v4b

Swizzle4.xyww


xywx: v4b

Swizzle4.xywx


xywy: v4b

Swizzle4.xywy


xywz: v4b

Swizzle4.xywz


xyx: v3b

Swizzle4.xyx


xyxw: v4b

Swizzle4.xyxw


xyxx: v4b

Swizzle4.xyxx


xyxy: v4b

Swizzle4.xyxy


xyxz: v4b

Swizzle4.xyxz


xyy: v3b

Swizzle4.xyy


xyyw: v4b

Swizzle4.xyyw


xyyx: v4b

Swizzle4.xyyx


xyyy: v4b

Swizzle4.xyyy


xyyz: v4b

Swizzle4.xyyz


xyz: v3b

Swizzle4.xyz


xyzw: v4b

Swizzle4.xyzw


xyzx: v4b

Swizzle4.xyzx


xyzy: v4b

Swizzle4.xyzy


xyzz: v4b

Swizzle4.xyzz


xz: v2b

Swizzle4.xz


xzw: v3b

Swizzle4.xzw


xzww: v4b

Swizzle4.xzww


xzwx: v4b

Swizzle4.xzwx


xzwy: v4b

Swizzle4.xzwy


xzwz: v4b

Swizzle4.xzwz


xzx: v3b

Swizzle4.xzx


xzxw: v4b

Swizzle4.xzxw


xzxx: v4b

Swizzle4.xzxx


xzxy: v4b

Swizzle4.xzxy


xzxz: v4b

Swizzle4.xzxz


xzy: v3b

Swizzle4.xzy


xzyw: v4b

Swizzle4.xzyw


xzyx: v4b

Swizzle4.xzyx


xzyy: v4b

Swizzle4.xzyy


xzyz: v4b

Swizzle4.xzyz


xzz: v3b

Swizzle4.xzz


xzzw: v4b

Swizzle4.xzzw


xzzx: v4b

Swizzle4.xzzx


xzzy: v4b

Swizzle4.xzzy


xzzz: v4b

Swizzle4.xzzz


y: boolean

packages/typegpu/src/data/wgslTypes.ts:430


yw: v2b

Swizzle4.yw


yww: v3b

Swizzle4.yww


ywww: v4b

Swizzle4.ywww


ywwx: v4b

Swizzle4.ywwx


ywwy: v4b

Swizzle4.ywwy


ywwz: v4b

Swizzle4.ywwz


ywx: v3b

Swizzle4.ywx


ywxw: v4b

Swizzle4.ywxw


ywxx: v4b

Swizzle4.ywxx


ywxy: v4b

Swizzle4.ywxy


ywxz: v4b

Swizzle4.ywxz


ywy: v3b

Swizzle4.ywy


ywyw: v4b

Swizzle4.ywyw


ywyx: v4b

Swizzle4.ywyx


ywyy: v4b

Swizzle4.ywyy


ywyz: v4b

Swizzle4.ywyz


ywz: v3b

Swizzle4.ywz


ywzw: v4b

Swizzle4.ywzw


ywzx: v4b

Swizzle4.ywzx


ywzy: v4b

Swizzle4.ywzy


ywzz: v4b

Swizzle4.ywzz


yx: v2b

Swizzle4.yx


yxw: v3b

Swizzle4.yxw


yxww: v4b

Swizzle4.yxww


yxwx: v4b

Swizzle4.yxwx


yxwy: v4b

Swizzle4.yxwy


yxwz: v4b

Swizzle4.yxwz


yxx: v3b

Swizzle4.yxx


yxxw: v4b

Swizzle4.yxxw


yxxx: v4b

Swizzle4.yxxx


yxxy: v4b

Swizzle4.yxxy


yxxz: v4b

Swizzle4.yxxz


yxy: v3b

Swizzle4.yxy


yxyw: v4b

Swizzle4.yxyw


yxyx: v4b

Swizzle4.yxyx


yxyy: v4b

Swizzle4.yxyy


yxyz: v4b

Swizzle4.yxyz


yxz: v3b

Swizzle4.yxz


yxzw: v4b

Swizzle4.yxzw


yxzx: v4b

Swizzle4.yxzx


yxzy: v4b

Swizzle4.yxzy


yxzz: v4b

Swizzle4.yxzz


yy: v2b

Swizzle4.yy


yyw: v3b

Swizzle4.yyw


yyww: v4b

Swizzle4.yyww


yywx: v4b

Swizzle4.yywx


yywy: v4b

Swizzle4.yywy


yywz: v4b

Swizzle4.yywz


yyx: v3b

Swizzle4.yyx


yyxw: v4b

Swizzle4.yyxw


yyxx: v4b

Swizzle4.yyxx


yyxy: v4b

Swizzle4.yyxy


yyxz: v4b

Swizzle4.yyxz


yyy: v3b

Swizzle4.yyy


yyyw: v4b

Swizzle4.yyyw


yyyx: v4b

Swizzle4.yyyx


yyyy: v4b

Swizzle4.yyyy


yyyz: v4b

Swizzle4.yyyz


yyz: v3b

Swizzle4.yyz


yyzw: v4b

Swizzle4.yyzw


yyzx: v4b

Swizzle4.yyzx


yyzy: v4b

Swizzle4.yyzy


yyzz: v4b

Swizzle4.yyzz


yz: v2b

Swizzle4.yz


yzw: v3b

Swizzle4.yzw


yzww: v4b

Swizzle4.yzww


yzwx: v4b

Swizzle4.yzwx


yzwy: v4b

Swizzle4.yzwy


yzwz: v4b

Swizzle4.yzwz


yzx: v3b

Swizzle4.yzx


yzxw: v4b

Swizzle4.yzxw


yzxx: v4b

Swizzle4.yzxx


yzxy: v4b

Swizzle4.yzxy


yzxz: v4b

Swizzle4.yzxz


yzy: v3b

Swizzle4.yzy


yzyw: v4b

Swizzle4.yzyw


yzyx: v4b

Swizzle4.yzyx


yzyy: v4b

Swizzle4.yzyy


yzyz: v4b

Swizzle4.yzyz


yzz: v3b

Swizzle4.yzz


yzzw: v4b

Swizzle4.yzzw


yzzx: v4b

Swizzle4.yzzx


yzzy: v4b

Swizzle4.yzzy


yzzz: v4b

Swizzle4.yzzz


z: boolean

packages/typegpu/src/data/wgslTypes.ts:431


zw: v2b

Swizzle4.zw


zww: v3b

Swizzle4.zww


zwww: v4b

Swizzle4.zwww


zwwx: v4b

Swizzle4.zwwx


zwwy: v4b

Swizzle4.zwwy


zwwz: v4b

Swizzle4.zwwz


zwx: v3b

Swizzle4.zwx


zwxw: v4b

Swizzle4.zwxw


zwxx: v4b

Swizzle4.zwxx


zwxy: v4b

Swizzle4.zwxy


zwxz: v4b

Swizzle4.zwxz


zwy: v3b

Swizzle4.zwy


zwyw: v4b

Swizzle4.zwyw


zwyx: v4b

Swizzle4.zwyx


zwyy: v4b

Swizzle4.zwyy


zwyz: v4b

Swizzle4.zwyz


zwz: v3b

Swizzle4.zwz


zwzw: v4b

Swizzle4.zwzw


zwzx: v4b

Swizzle4.zwzx


zwzy: v4b

Swizzle4.zwzy


zwzz: v4b

Swizzle4.zwzz


zx: v2b

Swizzle4.zx


zxw: v3b

Swizzle4.zxw


zxww: v4b

Swizzle4.zxww


zxwx: v4b

Swizzle4.zxwx


zxwy: v4b

Swizzle4.zxwy


zxwz: v4b

Swizzle4.zxwz


zxx: v3b

Swizzle4.zxx


zxxw: v4b

Swizzle4.zxxw


zxxx: v4b

Swizzle4.zxxx


zxxy: v4b

Swizzle4.zxxy


zxxz: v4b

Swizzle4.zxxz


zxy: v3b

Swizzle4.zxy


zxyw: v4b

Swizzle4.zxyw


zxyx: v4b

Swizzle4.zxyx


zxyy: v4b

Swizzle4.zxyy


zxyz: v4b

Swizzle4.zxyz


zxz: v3b

Swizzle4.zxz


zxzw: v4b

Swizzle4.zxzw


zxzx: v4b

Swizzle4.zxzx


zxzy: v4b

Swizzle4.zxzy


zxzz: v4b

Swizzle4.zxzz


zy: v2b

Swizzle4.zy


zyw: v3b

Swizzle4.zyw


zyww: v4b

Swizzle4.zyww


zywx: v4b

Swizzle4.zywx


zywy: v4b

Swizzle4.zywy


zywz: v4b

Swizzle4.zywz


zyx: v3b

Swizzle4.zyx


zyxw: v4b

Swizzle4.zyxw


zyxx: v4b

Swizzle4.zyxx


zyxy: v4b

Swizzle4.zyxy


zyxz: v4b

Swizzle4.zyxz


zyy: v3b

Swizzle4.zyy


zyyw: v4b

Swizzle4.zyyw


zyyx: v4b

Swizzle4.zyyx


zyyy: v4b

Swizzle4.zyyy


zyyz: v4b

Swizzle4.zyyz


zyz: v3b

Swizzle4.zyz


zyzw: v4b

Swizzle4.zyzw


zyzx: v4b

Swizzle4.zyzx


zyzy: v4b

Swizzle4.zyzy


zyzz: v4b

Swizzle4.zyzz


zz: v2b

Swizzle4.zz


zzw: v3b

Swizzle4.zzw


zzww: v4b

Swizzle4.zzww


zzwx: v4b

Swizzle4.zzwx


zzwy: v4b

Swizzle4.zzwy


zzwz: v4b

Swizzle4.zzwz


zzx: v3b

Swizzle4.zzx


zzxw: v4b

Swizzle4.zzxw


zzxx: v4b

Swizzle4.zzxx


zzxy: v4b

Swizzle4.zzxy


zzxz: v4b

Swizzle4.zzxz


zzy: v3b

Swizzle4.zzy


zzyw: v4b

Swizzle4.zzyw


zzyx: v4b

Swizzle4.zzyx


zzyy: v4b

Swizzle4.zzyy


zzyz: v4b

Swizzle4.zzyz


zzz: v3b

Swizzle4.zzz


zzzw: v4b

Swizzle4.zzzw


zzzx: v4b

Swizzle4.zzzx


zzzy: v4b

Swizzle4.zzzy


zzzz: v4b

Swizzle4.zzzz

[iterator](): ArrayIterator<boolean>

Iterator

ArrayIterator<boolean>

Tuple4.[iterator]

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.iterable.d.ts:78


at(index): undefined | boolean

Returns the item located at the specified index.

number

The zero-based index of the desired code unit. A negative index will count back from the last item.

undefined | boolean

Tuple4.at

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2022.array.d.ts:24


concat(…items): boolean[]

Combines two or more arrays. This method returns a new array without modifying any existing arrays.

ConcatArray<boolean>[]

Additional arrays and/or items to add to the end of the array.

boolean[]

Tuple4.concat

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1353

concat(…items): boolean[]

Combines two or more arrays. This method returns a new array without modifying any existing arrays.

…(boolean | ConcatArray<boolean>)[]

Additional arrays and/or items to add to the end of the array.

boolean[]

Tuple4.concat

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1359


copyWithin(target, start, end?): this

Returns the this object after copying a section of the array identified by start and end to the same array starting at position target

number

If target is negative, it is treated as length+target where length is the length of the array.

number

If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.

number

If not specified, length of the this object is used as its default value.

this

Tuple4.copyWithin

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:62


entries(): ArrayIterator<[number, boolean]>

Returns an iterable of key, value pairs for every entry in the array

ArrayIterator<[number, boolean]>

Tuple4.entries

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.iterable.d.ts:83


every<S>(predicate, thisArg?): this is S[]

Determines whether all the members of an array satisfy the specified test.

S extends boolean

(value, index, array) => value is S

A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.

any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

this is S[]

Tuple4.every

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1440

every(predicate, thisArg?): boolean

Determines whether all the members of an array satisfy the specified test.

(value, index, array) => unknown

A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.

any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

boolean

Tuple4.every

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1449


fill(value, start?, end?): this

Changes all array elements from start to end index to a static value and returns the modified array

boolean

value to fill array section with

number

index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.

number

index to stop filling the array at. If end is negative, it is treated as length+end.

this

Tuple4.fill

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:51


filter<S>(predicate, thisArg?): S[]

Returns the elements of an array that meet the condition specified in a callback function.

S extends boolean

(value, index, array) => value is S

A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.

any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

S[]

Tuple4.filter

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1476

filter(predicate, thisArg?): boolean[]

Returns the elements of an array that meet the condition specified in a callback function.

(value, index, array) => unknown

A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.

any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

boolean[]

Tuple4.filter

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1482


find<S>(predicate, thisArg?): undefined | S

Returns the value of the first element in the array where predicate is true, and undefined otherwise.

S extends boolean

(value, index, obj) => value is S

find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.

any

If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

undefined | S

Tuple4.find

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:29

find(predicate, thisArg?): undefined | boolean

(value, index, obj) => unknown

any

undefined | boolean

Tuple4.find

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:30


findIndex(predicate, thisArg?): number

Returns the index of the first element in the array where predicate is true, and -1 otherwise.

(value, index, obj) => unknown

find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.

any

If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

number

Tuple4.findIndex

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:41


findLast<S>(predicate, thisArg?): undefined | S

Returns the value of the last element in the array where predicate is true, and undefined otherwise.

S extends boolean

(value, index, array) => value is S

findLast calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLast immediately returns that element value. Otherwise, findLast returns undefined.

any

If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

undefined | S

Tuple4.findLast

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:29

findLast(predicate, thisArg?): undefined | boolean

(value, index, array) => unknown

any

undefined | boolean

Tuple4.findLast

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:30


findLastIndex(predicate, thisArg?): number

Returns the index of the last element in the array where predicate is true, and -1 otherwise.

(value, index, array) => unknown

findLastIndex calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.

any

If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

number

Tuple4.findLastIndex

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:41


flat<A, D>(this, depth?): FlatArray<A, D>[]

Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.

A

D extends number = 1

A

D

The maximum recursion depth

FlatArray<A, D>[]

Tuple4.flat

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2019.array.d.ts:75


flatMap<U, This>(callback, thisArg?): U[]

Calls a defined callback function on each element of an array. Then, flattens the result into a new array. This is identical to a map followed by flat with depth 1.

U

This = undefined

(this, value, index, array) => U | readonly U[]

A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array.

This

An object to which the this keyword can refer in the callback function. If thisArg is omitted, undefined is used as the this value.

U[]

Tuple4.flatMap

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2019.array.d.ts:64


forEach(callbackfn, thisArg?): void

Performs the specified action for each element in an array.

(value, index, array) => void

A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.

any

An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

void

Tuple4.forEach

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1464


includes(searchElement, fromIndex?): boolean

Determines whether an array includes a certain element, returning true or false as appropriate.

boolean

The element to search for.

number

The position in this array at which to begin searching for searchElement.

boolean

Tuple4.includes

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2016.array.include.d.ts:25


indexOf(searchElement, fromIndex?): number

Returns the index of the first occurrence of a value in an array, or -1 if it is not present.

boolean

The value to locate in the array.

number

The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.

number

Tuple4.indexOf

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1425


join(separator?): string

Adds all the elements of an array into a string, separated by the specified separator string.

string

A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.

string

Tuple4.join

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1364


keys(): ArrayIterator<number>

Returns an iterable of keys in the array

ArrayIterator<number>

Tuple4.keys

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.iterable.d.ts:88


lastIndexOf(searchElement, fromIndex?): number

Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.

boolean

The value to locate in the array.

number

The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.

number

Tuple4.lastIndexOf

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1431


map<U>(callbackfn, thisArg?): U[]

Calls a defined callback function on each element of an array, and returns an array that contains the results.

U

(value, index, array) => U

A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.

any

An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

U[]

Tuple4.map

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1470


pop(): undefined | boolean

Removes the last element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.

undefined | boolean

Tuple4.pop

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1342


push(…items): number

Appends new elements to the end of an array, and returns the new length of the array.

boolean[]

New elements to add to the array.

number

Tuple4.push

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1347


reduce(callbackfn): boolean

Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

(previousValue, currentValue, currentIndex, array) => boolean

A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

boolean

Tuple4.reduce

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1488

reduce(callbackfn, initialValue): boolean

(previousValue, currentValue, currentIndex, array) => boolean

boolean

boolean

Tuple4.reduce

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1489

reduce<U>(callbackfn, initialValue): U

Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

U

(previousValue, currentValue, currentIndex, array) => U

A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

U

If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

U

Tuple4.reduce

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1495


reduceRight(callbackfn): boolean

Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

(previousValue, currentValue, currentIndex, array) => boolean

A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

boolean

Tuple4.reduceRight

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1501

reduceRight(callbackfn, initialValue): boolean

(previousValue, currentValue, currentIndex, array) => boolean

boolean

boolean

Tuple4.reduceRight

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1502

reduceRight<U>(callbackfn, initialValue): U

Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

U

(previousValue, currentValue, currentIndex, array) => U

A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

U

If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

U

Tuple4.reduceRight

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1508


reverse(): boolean[]

Reverses the elements in an array in place. This method mutates the array and returns a reference to the same array.

boolean[]

Tuple4.reverse

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1369


shift(): undefined | boolean

Removes the first element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.

undefined | boolean

Tuple4.shift

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1374


slice(start?, end?): boolean[]

Returns a copy of a section of an array. For both start and end, a negative index can be used to indicate an offset from the end of the array. For example, -2 refers to the second to last element of the array.

number

The beginning index of the specified portion of the array. If start is undefined, then the slice begins at index 0.

number

The end index of the specified portion of the array. This is exclusive of the element at the index ‘end’. If end is undefined, then the slice extends to the end of the array.

boolean[]

Tuple4.slice

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1384


some(predicate, thisArg?): boolean

Determines whether the specified callback function returns true for any element of an array.

(value, index, array) => unknown

A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.

any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

boolean

Tuple4.some

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1458


sort(compareFn?): this

Sorts an array in place. This method mutates the array and returns a reference to the same array.

(a, b) => number

Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they’re equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.

[11,2,22,1].sort((a, b) => a - b)

this

Tuple4.sort

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1395


splice(start, deleteCount?): boolean[]

Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

number

The zero-based location in the array from which to start removing elements.

number

The number of elements to remove. Omitting this argument will remove all elements from the start paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.

boolean[]

An array containing the elements that were deleted.

Tuple4.splice

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1404

splice(start, deleteCount, …items): boolean[]

Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

number

The zero-based location in the array from which to start removing elements.

number

The number of elements to remove. If value of this argument is either a negative number, zero, undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.

boolean[]

Elements to insert into the array in place of the deleted elements.

boolean[]

An array containing the elements that were deleted.

Tuple4.splice

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1414


toLocaleString(): string

Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

string

Tuple4.toLocaleString

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1337

toLocaleString(locales, options?): string

string | string[]

NumberFormatOptions & DateTimeFormatOptions

string

Tuple4.toLocaleString

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.core.d.ts:64


toReversed(): boolean[]

Returns a copy of an array with its elements reversed.

boolean[]

Tuple4.toReversed

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:46


toSorted(compareFn?): boolean[]

Returns a copy of an array with its elements sorted.

(a, b) => number

Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they’re equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.

[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]

boolean[]

Tuple4.toSorted

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:57


toSpliced(start, deleteCount, …items): boolean[]

Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.

number

The zero-based location in the array from which to start removing elements.

number

The number of elements to remove.

boolean[]

Elements to insert into the copied array in place of the deleted elements.

boolean[]

The copied array.

Tuple4.toSpliced

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:66

toSpliced(start, deleteCount?): boolean[]

Copies an array and removes elements while returning the remaining elements.

number

The zero-based location in the array from which to start removing elements.

number

The number of elements to remove.

boolean[]

A copy of the original array with the remaining elements.

Tuple4.toSpliced

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:74


toString(): string

Returns a string representation of an array.

string

Tuple4.toString

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1333


unshift(…items): number

Inserts new elements at the start of an array, and returns the new length of the array.

boolean[]

Elements to insert at the start of the array.

number

Tuple4.unshift

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es5.d.ts:1419


values(): ArrayIterator<boolean>

Returns an iterable of values in the array

ArrayIterator<boolean>

Tuple4.values

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2015.iterable.d.ts:93


with(index, value): boolean[]

Copies an array, then overwrites the value at the provided index with the given value. If the index is negative, then it replaces from the end of the array.

number

The index of the value to overwrite. If the index is negative, then it replaces from the end of the array.

boolean

The value to write into the copied array.

boolean[]

The copied array with the updated value.

Tuple4.with

node_modules/.pnpm/[email protected]/node_modules/tsover/lib/lib.es2023.array.d.ts:85