htmy.utils
join(*items, separator=' ')
Joins the given strings with the given separator, skipping None
values.
join_components(components, separator, pad=False)
Joins the given components using the given separator.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
components
|
ComponentSequence
|
The components to join. |
required |
separator
|
ComponentType
|
The separator to use. |
required |
pad
|
bool
|
Whether to add a separator before the first and after the last components. |
False
|