MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / usableFunction

Function usableFunction

packages/core/sdk/src/sentry-grouping.ts:89–92  ·  view source on GitHub ↗
(name: string | undefined)

Source from the content-addressed store, hash-verified

87const MINIFIED_FUNCTION = /^[A-Za-z_$][A-Za-z0-9_$]{0,2}$/;
88
89const usableFunction = (name: string | undefined): string | undefined => {
90 if (!name || name === "<anonymous>" || name === "?") return undefined;
91 return MINIFIED_FUNCTION.test(name) ? undefined : name;
92};
93
94/** Last path segment, without query or fragment. Chunk paths are served from
95 * host- and port-specific origins (`http://127.0.0.1:4789/assets/…`), which are

Callers 1

frameKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected