MCPcopy Create free account
hub / github.com/Effect-TS/effect / isMacMulticast

Function isMacMulticast

packages/effect/src/net/NetAddress.ts:1298–1299  ·  view source on GitHub ↗
(self: A)

Source from the content-addressed store, hash-verified

1296 * @since 4.0.0
1297 */
1298export const isMacMulticast = <A extends MacAddress>(self: A): self is MulticastAddress<A> =>
1299 (getMacBytes(self)[0] & 1) !== 0
1300
1301/**
1302 * Returns `true` when the MAC address has the IEEE group-address bit clear.

Callers 1

isMulticastFunction · 0.85

Calls 1

getMacBytesFunction · 0.85

Tested by

no test coverage detected