is_chatlog {TheOpenAIR}R 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

[Package TheOpenAIR version 0.1.0 Index]