list_unique_master_sku_ids

Get unique list of master sku ids

Example

1
{{ $source | list_unique_master_sku_ids }} => [1, 2, 3, 4, 5]

Input

Type Parameter Description Required
array source The list to get unique master sku ids from. Comes before the | sign. Required
string attribute The attribute to get unique master sku ids from, defaults to ‘sku_id’  

Output

Type Description
array The unique master sku ids from the list