Skip to content
Simple dict type.
JavaScript Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
builder @ bc83aa4
dist
src
tests
.babelrc
.gitignore
.gitmodules
Makefile
changelog.md
contributing.md
license.md
package.json
readme.md

readme.md

js-sdk-dict

Simple dictionary utilities.

library

$ Dict() -> Dict

// Dictionary type. This represents an object with unordered key.


$ Dict::create() -> Dict

// Smart contructor.


$ Dict::set(k : Any, v : Any) -> Dict

// add a new item to the dict. 'k' key must be an object that
// can be tested with '=='.


$ Dict::get(k : Any) -> Dict

// get an item from the dict. 'k' key must be an object that
// can be tested with '=='.

license

See license.md or visit Unlicense.

You can’t perform that action at this time.