Here is the top level content of the Disk library:
local Disk = require('@pkg/luau-disk')
local Array = Disk.Array
local Map = Disk.Map
local Set = Disk.Set
local WeakMap = Disk.WeapMap
type Set<T> = Disk.Set<T>local Array = Disk.ArrayFor functions that operates on arrays (or related to arrays): Array documentation
local Map = Disk.MapFor functions that operates on maps (or related to maps): Map documentation
local Set = Disk.SetFor functions that operates on sets (or related to sets): Set documentation
Create a new empty weak map.
local value = Disk.WeakMap()WeakMap can be called on an existing map to turn it into a weak map:
local value = Disk.WeakMap({ [player] = data })