MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isPrimitive

Function isPrimitive

frontend/src/utils/portUtils.ts:41–42  ·  view source on GitHub ↗
(dataType: ConnectionType)

Source from the content-addressed store, hash-verified

39}
40
41const isPrimitive = (dataType: ConnectionType): dataType is PrimitivePort =>
42 dataType?.kind === 'primitive';
43
44const isList = (dataType: ConnectionType): dataType is ListPort => dataType?.kind === 'list';
45

Callers 4

comparePortTypesFunction · 0.85
isPrimitiveAndFunction · 0.85
isListOfTextPortFunction · 0.85
describePortTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected