( value: unknown, )
| 9 | } |
| 10 | |
| 11 | export function isConnectorTextBlock( |
| 12 | value: unknown, |
| 13 | ): value is ConnectorTextBlock { |
| 14 | return ( |
| 15 | typeof value === 'object' && |
| 16 | value !== null && |
| 17 | 'type' in value && |
| 18 | 'connector_text' in value && |
| 19 | (value as { type?: unknown }).type === 'connector_text' && |
| 20 | typeof (value as { connector_text?: unknown }).connector_text === 'string' |
| 21 | ) |
| 22 | } |
no outgoing calls
no test coverage detected