Liking cljdoc? Tell your friends :D

js.Set

The Set object lets you store unique values of any type, whether values or object references.

The Set object lets you store unique values of any type, whether
values or object references.
raw docstring

addcljs

(add this value)

Method.

The add() method appends a new element with a specified value the end of a Set object.

mySet.add(value);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/add

Method.

The add() method appends a new element with a specified value
the end of a Set object.

`mySet.add(value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/add`
sourceraw docstring

clearcljs

(clear this)

Method.

The clear() method removes all elements from a Set object.

mySet.clear();

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/clear

Method.

The clear() method removes all elements from a Set object.

`mySet.clear();`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/clear`
sourceraw docstring

deletecljs

(delete this value)

Method.

The delete() method removes the specified element from a Set

mySet.delete(value);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/delete

Method.

The delete() method removes the specified element from a Set

`mySet.delete(value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/delete`
sourceraw docstring

entriescljs

(entries this)

Method.

The entries() method returns a new Iterator object that contains array of [value, value] for each element in the Set object, in order. For Set objects there is no key like in Map objects. However, keep the API similar to the Map object, each entry has the same for its key and value here, so that an array [value, value] is

mySet.entries()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries

Method.

The entries() method returns a new Iterator object that contains
array of [value, value] for each element in the Set object, in
order. For Set objects there is no key like in Map objects. However,
keep the API similar to the Map object, each entry has the same
for its key and value here, so that an array [value, value] is

`mySet.entries()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries`
sourceraw docstring

for-eachcljs

(for-each this & args)

Method.

The forEach() method executes a provided function once for each in the Set object, in insertion order.

mySet.forEach(callback[, thisArg])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/forEach

Method.

The forEach() method executes a provided function once for each
in the Set object, in insertion order.

`mySet.forEach(callback[, thisArg])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/forEach`
sourceraw docstring

hascljs

(has this value)

Method.

The has() method returns a boolean indicating whether an element the specified value exists in a Set object or not.

mySet.has(value);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/has

Method.

The has() method returns a boolean indicating whether an element
the specified value exists in a Set object or not.

`mySet.has(value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/has`
sourceraw docstring

lengthcljs

(length this)

Property.

The value of the length property is 0.

Property.

The value of the length property is 0.
sourceraw docstring

prototypecljs

(prototype this)

Property.

The Set.prototype property represents the prototype for the js.Set

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/prototype

Property.

The Set.prototype property represents the prototype for the `js.Set`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/prototype`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The value of the length property is 0.

Property.

The value of the length property is 0.
sourceraw docstring

set-prototype!cljs

(set-prototype! this val)

Property.

The Set.prototype property represents the prototype for the js.Set

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/prototype

Property.

The Set.prototype property represents the prototype for the `js.Set`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/prototype`
sourceraw docstring

set-size!cljs

(set-size! this val)

Property.

The size accessor property returns the number of (unique) elements a js.Set object.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/size

Property.

The size accessor property returns the number of (unique) elements
a `js.Set` object.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/size`
sourceraw docstring

sizecljs

(size this)

Property.

The size accessor property returns the number of (unique) elements a js.Set object.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/size

Property.

The size accessor property returns the number of (unique) elements
a `js.Set` object.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/size`
sourceraw docstring

valuescljs

(values this)

Method.

The values() method returns a new Iterator object that contains values for each element in the Set object in insertion order.

mySet.values();

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/values

Method.

The values() method returns a new Iterator object that contains
values for each element in the Set object in insertion order.

`mySet.values();`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/values`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close