isCliToolEntry
isCliToolEntry<
T>(entry):entry is T & CliToolNodeEntryDto
Type guard: is this the cli-tool action, carrying a CLI-tool descriptor?
Generic over the input so it narrows subtypes (e.g. the Hub’s
NodeCatalogEntryWithStatusDto) without dropping their extra fields.
Type Parameters
Section titled “Type Parameters”T extends NodeCatalogEntryDto
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”entry is T & CliToolNodeEntryDto