ReadonlyMap

@native @JSType trait ReadonlyMap[K, V] extends StObject
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def entries(): IterableIterator[Tuple2[K, V]]

Returns an iterable of key, value pairs for every entry in the map.

Returns an iterable of key, value pairs for every entry in the map.

def forEach(callbackfn: Function3[V, K, ReadonlyMap[K, V], Unit]): Unit
def forEach(callbackfn: Function3[V, K, ReadonlyMap[K, V], Unit], thisArg: Any): Unit
def get(key: K): UndefOr[V]
def has(key: K): Boolean

Returns an iterable of keys in the map

Returns an iterable of keys in the map

Returns an iterable of values in the map

Returns an iterable of values in the map

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

@JSName
var iterator: Function0[IterableIterator[Tuple2[K, V]]]

Returns an iterable of entries in the map.

Returns an iterable of entries in the map.

val size: Double