Skip to content

Meta type ‣ Clamped array

Chung Leong edited this page Oct 25, 2025 · 3 revisions

The clamped array meta type indicates that a Zig type should become a Uint8ClampedArray on the JavaScript side. It's applicable to arrays, vectors, and slices of u8. It's assigned using the following functions:


Meta types

Clone this wiki locally