contains: Check if an element exists in list.

View source: R/generic_list.R

containsR Documentation

Check if an element exists in list.

Description

Check if an element exists in list.

Usage

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)

Arguments

object

list object

x

element to check if exists

Value

logical value, TRUE or FALSE


campsismod documentation built on May 29, 2024, 8:48 a.m.