Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 847 Bytes

File metadata and controls

52 lines (34 loc) · 847 Bytes

Disk

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>

Array

local Array = Disk.Array

For functions that operates on arrays (or related to arrays): Array documentation

Map

local Map = Disk.Map

For functions that operates on maps (or related to maps): Map documentation

Set

local Set = Disk.Set

For functions that operates on sets (or related to sets): Set documentation

WeakMap

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 })