MCPcopy Create free account
hub / github.com/Lemoncode/fonk / getArgPath

Function getArgPath

src/validators/validators.helpers.ts:6–6  ·  view source on GitHub ↗
(arg: string)

Source from the content-addressed store, hash-verified

4 message.match(/{{[^{}][\w\.]*}}/g);
5
6const getArgPath = (arg: string): string => arg.replace(/[{}]/g, '');
7
8const parseMessage = (message: string, customArgs: any): string => {
9 const parsableArgs = getArgsToParse(message);

Callers 1

parseMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…