MCPcopy Create free account
hub / github.com/appium/appium / getObjectSize

Function getObjectSize

packages/support/lib/node.ts:16–18  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

14 * @returns Object size in bytes.
15 */
16export function getObjectSize(obj: unknown): number {
17 return sizeOf(obj);
18}
19
20/**
21 * Calculates a unique object identifier

Callers

nothing calls this directly

Calls 1

sizeOfFunction · 0.85

Tested by

no test coverage detected