Skip to contents

This function checks if an object exists in a collection. This collection is either the default collection or a collection specified by the collection argument.

Usage

ri_objectExists(object, collection = ri_getCollection())

Arguments

object

name of the object

collection

name of the collection, if not given, it uses the default collection

Value

TRUE of the object exists, FALSE otherwise