Skip to content

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

Function: isObjectPortConfig() ​

isObjectPortConfig(value, schemaType): value is ObjectPortConfig<IObjectSchema<Record<string, IPortConfig>>>

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

Parameters ​

value ​

unknown

schemaType ​

string = 'object'

Returns ​

value is ObjectPortConfig<IObjectSchema<Record<string, IPortConfig>>>

Licensed under BUSL-1.1