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

Function splitKeyValue

packages/effect/src/SchemaTransformation.ts:665–673  ·  view source on GitHub ↗
(options?: {
  readonly separator?: string | undefined
  readonly keyValueSeparator?: string | undefined
})

Source from the content-addressed store, hash-verified

663 * @since 4.0.0
664 */
665export function splitKeyValue(options?: {
666 readonly separator?: string | undefined
667 readonly keyValueSeparator?: string | undefined
668}): Transformation<Record<string, string>, string> {
669 return new Transformation(
670 SchemaGetter.splitKeyValue(options),
671 SchemaGetter.joinKeyValue(options)
672 )
673}
674
675const passthrough_ = new Transformation(
676 SchemaGetter.passthrough<any>(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected