Options
All
  • Public
  • Public/Protected
  • All
Menu

Class I2CPortMap

Different from Web I2C API specification.

Hierarchy

Index

Properties

[Symbol.toStringTag]

[Symbol.toStringTag]: string

size

size: number

Static Map

Map: MapConstructor

Methods

[Symbol.iterator]

clear

  • clear(): void
  • Returns void

delete

  • Parameters

    Returns boolean

entries

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

    Returns IterableIterator<[PortNumber, I2CPort]>

forEach

get

  • Parameters

    Returns I2CPort | undefined

getByName

  • Parameters

    Returns undefined | I2CPort

has

  • Parameters

    Returns boolean

keys

  • Returns an iterable of keys in the map

    Returns IterableIterator<PortNumber>

set

  • Parameters

    Returns this

values

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

    Returns IterableIterator<I2CPort>

Generated using TypeDoc