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

Function isUnsized

packages/joint-react/src/utils/is.ts:52–54  ·  view source on GitHub ↗
(width: number | undefined, height: number | undefined)

Source from the content-addressed store, hash-verified

50}
51
52export function isUnsized(width: number | undefined, height: number | undefined) {
53 return width === undefined || height === undefined;
54}
55
56export function hasChildren(props: Record<string, unknown>) {
57 return 'children' in props;

Callers 1

processElementFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected