is_chatlog: Determine if an object is a chatlog

View source: R/is_chaglog.R

is_chatlogR Documentation

Determine if an object is a chatlog

Description

This function checks if an object is of class "chatlog".

Usage

is_chatlog(object)

Arguments

object

An R object to check

Value

TRUE if the object is of class "chatlog", FALSE otherwise

Author(s)

Ulrich Matter umatter@protonmail.com

Examples

is_chatlog("Hello, World!")
# [1] FALSE

chat <- new("chatlog")
is_chatlog(chat)
# [1] TRUE

TheOpenAIR documentation built on April 27, 2023, 5:10 p.m.