WLJS LogoWLJS Notebook

DataStructure

DataStructure["type",data] represents a data structure.

Examples

Create a stack data structure:

DataStructure["Stack", {1, 2, 3}]
(* DataStructure["Stack", ...] *)

Create a hash map:

DataStructure["HashTable", {"a" -> 1, "b" -> 2}]

Please visit the official Wolfram Language Reference for more details.

On this page