Class CSSUnitMap

Hierarchy
  • Map<string, number>
    • CSSUnitMap
Index
Properties

__@toStringTag

__@toStringTag: "Map"

size

size: number
Static

Map

Map: MapConstructor
Methods

__@iterator

  • __@iterator(): IterableIterator<[string, number]>
  • Returns an iterable of entries in the map.

    Returns IterableIterator<[string, number]>

clear

  • clear(): void
  • Returns void

delete

  • delete(key: string): boolean
  • Parameters
    • key: string
    Returns boolean

entries

  • entries(): IterableIterator<[string, number]>
  • Returns an iterable of key, value pairs for every entry in the map.

    Returns IterableIterator<[string, number]>

equals

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Parameters
    • callbackfn: function
        • (value: number, key: string, map: Map<string, number>): void
        • Parameters
          • value: number
          • key: string
          • map: Map<string, number>
          Returns void
    • Optional thisArg: any
    Returns void

get

  • get(key: string): number | undefined
  • Parameters
    • key: string
    Returns number | undefined

has

  • has(key: string): boolean
  • Parameters
    • key: string
    Returns boolean

keys

  • keys(): IterableIterator<string>
  • Returns an iterable of keys in the map

    Returns IterableIterator<string>

set

  • set(key: string, value: number): this
  • Parameters
    • key: string
    • value: number
    Returns this

values

  • values(): IterableIterator<number>
  • Returns an iterable of values in the map

    Returns IterableIterator<number>