Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / isPortConfigReference

Function: isPortConfigReference()

isPortConfigReference(config): config is IPortConfigReference

Defined in: packages/chaingraph-types/src/port/base/types.ts:354

Type guard for config references

Checks if a stored config is a reference that needs resolution.

Parameters

config

StoredPortConfig

Config to check

Returns

config is IPortConfigReference

True if config is a reference, false if it's a complete config

Licensed under BUSL-1.1