HomeManualTopicsTypesSymbols

std_types::generic_list/std::truncate

truncates a list to the specified number of items

Parameters

self
n
the maximum length of the result list

Results

None

Implements

std::truncate truncates a collection to the specified number of items