// this is a function that takes a number as a parameter,
// and returns a selector for a specific outline entry level
#let mapper = level => outline.entry.where(level: level)
// this is an array of multiple selectors, created by taking
// each number in the original array, giving it to the function,
// then putting all the results together in a new array
#let levels = (2, 3).map(mapper)
// this is the combination of all the selectors. The or()
// function takes any number of parameters, and .. separates
// the array elements into separate parameters
#let complete = selector.or(..levels)
// this selector is used for the show rule
#show complete: ...