Skip to content

split

split(separator): transform<SchemaClass<string, string, never>, Array$<typeof String$>>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:2540

Returns a schema that allows splitting a string into an array of strings.

Parameters

separator

string

Returns

transform<SchemaClass<string, string, never>, Array$<typeof String$>>

Since

3.10.0