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

Function splitLower

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

Source from the content-addressed store, hash-verified

73}
74
75const splitLower = (value: string | undefined): readonly string[] =>
76 (value ?? "")
77 .split(",")
78 .map((part) => part.trim().toLowerCase())
79 .filter((part) => part.length > 0);
80
81// The org slug doubles as a URL segment (`/<slug>/policies`), so an
82// 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