extracts values out of container where the names of the values intersect with argNames.

ExtractArgsFromContainer(argNames, container)

Arguments

argNames

a character vector of argument names.

container

either a list or environment that contains named values.

Value

list of named values from container where argNames intersects with container