Skip to content

Instance Method

separated(_:)

Appends the given separator text to the output before self’s output, as long as a separator is needed.
func separated(_ text: String) -> SeparatorFragment<Self>

Mentioned in

Discussion

If the wrapped fragment reports that it has no content, no separator will be inserted.