implode
Module Export
[text] |> (separator: text) => text
Joins an iterator of texts into a single text using a separator
implode
takes an iterator of texts and concatenates them into a single text, allowing for a separator to be inserted
between each value.
Examples
Create a comma separated list
import { impode } from 'text'
from ['value1', 'value2', 'value3'] implode (', ')
// Returns:'value1, value2, value3'