VOOZH about

URL: https://www.geeksforgeeks.org/r-language/check-if-an-object-is-of-type-character-in-r-programming-is-character-function/

⇱ Check if an Object is of Type Character in R Programming - is.character() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Check if an Object is of Type Character in R Programming - is.character() Function

Last Updated : 15 Jul, 2025
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: Output:
[1] FALSE
[1] TRUE
[1] TRUE
Example 2: Output:
[1] TRUE
Comment

Explore