-- Compiled with roblox-ts v2.0.4 --[[ * * Casts an object to a Map type. This is a workaround for challenges with * iterating over an object or array. * @param object The object to cast. * @returns The object as a Map. ]] local function entries(object) return object end --[[ * * Returns the keys of an object as an array.s * @param object The object to get the keys of. * @returns The keys of the object. ]] local function keys(object) local keys = {} for key in entries(object) do table.insert(keys, key) end return keys end return { entries = entries, keys = keys, }