MCPcopy
hub / github.com/clientIO/joint / isCellInstance

Function isCellInstance

packages/joint-react/src/utils/is.ts:48–50  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

46}
47
48export function isCellInstance(value: unknown): value is dia.Cell {
49 return value instanceof dia.Cell;
50}
51
52export function isUnsized(width: number | undefined, height: number | undefined) {
53 return width === undefined || height === undefined;

Callers 1

processElementFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected