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

Function splitLower

apps/host-cloudflare/src/config.ts:74–78  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

72}
73
74const splitLower = (value: string | undefined): readonly string[] =>
75 (value ?? "")
76 .split(",")
77 .map((part) => part.trim().toLowerCase())
78 .filter((part) => part.length > 0);
79
80// The org slug doubles as a URL segment (`/<slug>/policies`), so an
81// operator-set value must fit the shared grammar and avoid reserved root

Callers 1

loadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected