Skip to content

SplitPolicyFragmentV1

How one source's text decodes into collection elements.

A delimiter carries its own literal; every other format is named alone.

Signatures

ts
type SplitPolicyFragmentV1 = { format: "whole"; } | { delimiter: string; format: "delimiter"; } | { format: "lines"; } | { format: "json"; };

See Also

Released under the MIT License.