(value: unknown)
| 74 | } |
| 75 | |
| 76 | function isWorkspaceDefinition(value: unknown): value is WorkspaceDefinition { |
| 77 | return ( |
| 78 | value !== null && |
| 79 | typeof value === 'object' && |
| 80 | 'source' in value && |
| 81 | value.source !== null && |
| 82 | typeof value.source === 'object' |
| 83 | ) |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Assert enough of a message to fail fast on garbage (a non-empty `role` and a |
no outgoing calls
no test coverage detected