biodsbench-adapter / src /types /connectorText.ts
starpacker52's picture
Add files using upload-large-folder tool
94e3086 verified
Raw
History Blame Contribute Delete
379 Bytes
export type ConnectorTextBlock = {
type: 'connector_text'
connector_text: string
}
export function isConnectorTextBlock(value: unknown): value is ConnectorTextBlock {
return (
!!value &&
typeof value === 'object' &&
(value as { type?: unknown }).type === 'connector_text' &&
typeof (value as { connector_text?: unknown }).connector_text === 'string'
)
}