Pad List with Item

../../../../_images/pad_list.svg

Pad a list with item match the length of template

Documentation

Pad a list with item to match another list.

Definition

Input ports

template
Type: [<a>]
Description: List with deciding length
item
Type: <b>
Description: Item to be used as padding
list
Type: [<b>]
Description: List that will be padded

Output ports

list
Type: [<b>]
Description: The padded List

Examples

Example flows demonstrating this node:

Implementation

class node_list_operations.PadListItem[source]