const parameterSpec = {
'paramName': 'paramId',
'anotherParamName': 'anotherParamId',
// we recommend to always add '...' to your specification
// this way you can collect all arguments that could not be matched!
'...': '...'
} as const;
const match = pMatch(convertFnArguments(args), parameterSpec);
const addParam = match.get('paramId');
Links the given arguments to the given parameters within the given graph by name only.