Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Check if an Object is a Call in R Programming – is.call() Function

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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:




# R program to illustrate
# is.call function
  
# Calling is.call() function
is.call(call) 

Output:

[1] FALSE

Example 2:




# R program to illustrate
# is.call function
  
# Calling is.call() function
is.call(call("sin", 23))

Output:

[1] TRUE
My Personal Notes arrow_drop_up
Last Updated : 19 Jun, 2020
Like Article
Save Article
Similar Reads