is_chatlog {TheOpenAIR} | R Documentation |
This function checks if an object is of class "chatlog".
is_chatlog(object)
object |
An R object to check |
TRUE if the object is of class "chatlog", FALSE otherwise
Ulrich Matter umatter@protonmail.com
is_chatlog("Hello, World!")
# [1] FALSE
chat <- new("chatlog")
is_chatlog(chat)
# [1] TRUE