Skip to content

Pad

Name Mandatory Description Default Type
⬅️ Input The collection to pad. Audio[Any]StringBytes
Output ➡️ The padded collection. Any
Before No Number of elements to add at the beginning. 0 Int
After No Number of elements to add at the end. 0 Int
Value No Value to pad with. For Audio, this is ignored (always zero). For Seq, defaults to None. none NoneAnyVar(Any)

Adds padding to the beginning and/or end of a collection (Audio, Seq, String, or Bytes).