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 [<a>]

List with deciding length

item <b>

Item to be used as padding

list [<b>]

List that will be padded

Output ports

list [<b>]

The padded List

Examples

Implementation

class node_list_operations.PadListItem[source]