The mapState read-only property of the GPUBuffer interface represents the mapped state of the GPUBuffer.
mapState
MDN Reference