MCPcopy Create free account
hub / github.com/Effect-TS/effect / parseExpression

Function parseExpression

packages/effect/src/unstable/process/ChildProcess.ts:927–933  ·  view source on GitHub ↗
(expression: TemplateExpression)

Source from the content-addressed store, hash-verified

925 * `${expression}` into strings.
926 */
927const parseExpression = (expression: TemplateExpression): string => {
928 const type = typeof expression
929 if (type === "string") {
930 return expression as string // Return strings directly
931 }
932 return String(expression) // Convert numbers to strings
933}
934
935const DELIMITERS = new Set([" ", "\t", "\r", "\n"])
936

Callers 1

parseTemplateFunction · 0.85

Calls 1

StringInterface · 0.50

Tested by

no test coverage detected