MCPcopy Create free account
hub / github.com/api3dao/airnode / removeExtension

Function removeExtension

packages/airnode-examples/src/utils.ts:90–90  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

88 * @returns The "filename" with the last extension removed
89 */
90export const removeExtension = (filename: string) => filename.split('.')[0];
91
92export const promptQuestions = (questions: PromptObject[]) =>
93 prompts(questions, {

Callers 2

getDeployedContractFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected