contains {campsismod} | R Documentation |
Check if an element exists in list.
contains(object, x)
## S4 method for signature 'pmx_list,pmx_element'
contains(object, x)
## S4 method for signature 'statements_record,model_statement'
contains(object, x)
## S4 method for signature 'campsis_model,pmx_element'
contains(object, x)
object |
list object |
x |
element to check if exists |
logical value, TRUE or FALSE