Learn R Programming

TheOpenAIR (version 0.1.0)

is_chatlog: Determine if an object is a chatlog

Description

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

Usage

is_chatlog(object)

Value

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

Arguments

object

An R object to check

Author

Ulrich Matter umatter@protonmail.com

Examples

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

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

Run the code above in your browser using DataLab