# SharedTable(ロブロックス データ型) > Provides sharable, table-like storage for key/value pairs. - URL:https://roblox.minecraft-okinawa.com/reference/datatypes/SharedTable/ - 公式:https://create.roblox.com/docs/reference/engine/datatypes/SharedTable ## コンストラクター - `SharedTable.new()`:Returns a new, empty SharedTable. - `SharedTable.new(t: table)`:Returns a new SharedTable containing elements equivalent to those in the provided Luau table. ## 関数 - `SharedTable.clear(st: SharedTable): ()`:Removes all of the elements from the SharedTable. - `SharedTable.clone(st: SharedTable, deep: boolean?): SharedTable`:Creates and returns a clone of the provided SharedTable. - `SharedTable.cloneAndFreeze(st: SharedTable, deep: boolean?): SharedTable`:Creates and returns a frozen (read-only) clone of the provided SharedTable. - `SharedTable.increment(st: SharedTable, key: string | number, delta: number): number`:Adds delta to the value with the provided key and returns the original value. - `SharedTable.isFrozen(st: SharedTable): boolean`:Returns true if the SharedTable is frozen (read-only). - `SharedTable.size(st: SharedTable): number`:Returns the number of elements stored in the SharedTable. - `SharedTable.update(st: SharedTable, key: string | number, f: function): ()`:Updates the value with the provided key via the provided update function. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)