Check if the Argument is a Name in R Programming - is.name() Function Last Updated : 15 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report is.name() function in R Language is used to return TRUE if the argument is name else returns FALSE. The is.name() and is.symbol() functions are identical. Syntax: is.name(x) Parameters: x: R object to be tested Example 1: Python3 # R program to illustrate # is.name() function # Initializing a string x <- "sample" # Calling the is.name() function # to check whether the argument is # name or not is.name(x) Output: [1] FALSE Example 2: Python3 # R program to illustrate # is.name() function # Coercing the argument to a name x <- as.name("sample") # Calling the is.name() function # to check whether the argument is # name or not is.name(x) Output: [1] TRUE Comment More infoAdvertise with us Next Article Check if the Object is a Matrix in R Programming - is.matrix() Function K Kanchan_Ray Follow Improve Article Tags : R Language R Object-Function Similar Reads Coercing the Argument to a Name in R Programming - as.name() Function as.name() function in R Language is used to coerce the argument to a name. The as.name() and as.symbol() functions are identical. Syntax: as.name(x) Parameters: x: Object to be coerced Example 1: Python3 # R program to illustrate # as.name() function # Calling the as.name() function to # coerce the 1 min read Check if an Object is of Type Numeric in R Programming - is.numeric() Function is.numeric() function in R Language is used to check if the object passed to it as argument is of numeric type. Syntax: is.numeric(x) Parameters: x: Object to be checked Example 1: Python3 # R program to check if # object is of numeric type # Calling is.numeric() function is.numeric(1) is.numeric(1. 1 min read Check if the Object is a Matrix in R Programming - is.matrix() Function is.matrix() function in R Language is used to return TRUE if the specified data is in the form of matrix else return FALSE. Syntax: is.matrix(x) Parameters: x: specified matrix Example 1: Python3 # R program to illustrate # is.matrix function # Specifying some different types of arrays A <- matri 1 min read Check if the Object is a List in R Programming - is.list() Function is.list() function in R Language is used to return TRUE if the specified data is in the form of list, else returns FALSE. Syntax: is.list(X) Parameters: x: different types of data storage Example 1: Python3 # R program to illustrate # is.list function # Initializing some list a <- list(1, 2, 3) b 1 min read Check if an Object is of Type Character in R Programming - is.character() Function is.character() function in R Language is used to check if the object passed to it as argument is of character type. Syntax: is.character(x) Parameters: x: Object to be checked Example 1: Python3 1== # R program to check if # object is a character # Creating a vector x1 <- 4 x2 <- c("a 1 min read Check if an Object is a Call in R Programming - is.call() Function is.call() function in R Language is used to determine whether x is a call or not. Syntax: is.call(x) Parameters: x: an arbitrary R object Example 1: Python3 # R program to illustrate # is.call function # Calling is.call() function is.call(call) Output: [1] FALSE Example 2: Python3 # R program to ill 1 min read Like