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

Function List

packages/effect/src/cli/Prompt.ts:1205–1208  ·  view source on GitHub ↗
(options: ListOptions)

Source from the content-addressed store, hash-verified

1203 * @since 4.0.0
1204 */
1205export const List = (options: ListOptions): Prompt<Array<string>> =>
1206 String(options).pipe(
1207 map((output) => output.split(options.delimiter ?? ","))
1208 )
1209
1210/**
1211 * Transforms the output value produced by a prompt.

Callers

nothing calls this directly

Calls 4

StringFunction · 0.70
pipeMethod · 0.65
mapFunction · 0.50
splitMethod · 0.45

Tested by

no test coverage detected