keys_check.Rd
This function takes a list and a vector of required keys. It returns TRUE if all the required keys are in the list. Additional keys are allowed.
keys_check(l, req_keys)
l | a list |
---|---|
req_keys | a character vector of required keys |
A boolean, TRUE if the required keys req_keys are all in list l