MCPcopy Create free account
hub / github.com/coder/coder / isStarterTemplate

Function isStarterTemplate

site/e2e/helpers.ts:262–269  ·  view source on GitHub ↗
(
	input: EchoProvisionerResponses | StarterTemplates | undefined,
)

Source from the content-addressed store, hash-verified

260}
261
262function isStarterTemplate(
263 input: EchoProvisionerResponses | StarterTemplates | undefined,
264): input is StarterTemplates {
265 if (!input) {
266 return false;
267 }
268 return typeof input === "string";
269}
270
271/**
272 * createTemplate navigates to the /templates/new page and uploads a template

Callers 1

createTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected