Skip to contents

Check if an element exists in list.

Usage

contains(object, x)

# S4 method for class 'pmx_list,pmx_element'
contains(object, x)

# S4 method for class 'statements_record,model_statement'
contains(object, x)

# S4 method for class 'campsis_model,pmx_element'
contains(object, x)

Arguments

object

list object

x

element to check if exists

Value

logical value, TRUE or FALSE