Pad List with Item

../../../../_images/pad_list.svg
The considered category of nodes includes a number of common list operations,
  • Append
  • Extend
  • Get item

These list operations exist for list of ADAFs, Tables, and Text.

class node_list_operations.PadListItem[source]

Pad a list with item to match another list.

Inputs:
template : [<a>]

List with deciding length

item : <b>

Item to be used as padding

list : [<b>]

List that will be padded

Outputs:
list : [<b>]

The padded List