Description Usage Arguments Value See Also Examples
Returns TRUE
if e$expr
is of the given class
.
1 |
class |
expected |
TRUE
or FALSE
Other AnswerTests:
AnswerTests
,
any_of_exprs()
,
calculates_same_value()
,
expr_creates_var()
,
expr_identical_to()
,
expr_uses_func()
,
func_of_newvar_equals()
,
omnitest()
,
val_has_length()
,
val_matches()
,
var_is_a()
1 2 3 4 5 6 | ## Not run:
# Test if the expression entered by a user is an assignment
#
expr_is_a('<-')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.