Description Usage Arguments Value See Also Examples
Returns TRUE
if the e$expr
uses the function whose
name is given as the first argument.
1 | expr_uses_func(func)
|
func |
name of the function expected to be used |
TRUE
or FALSE
Other AnswerTests:
AnswerTests
,
any_of_exprs()
,
calculates_same_value()
,
expr_creates_var()
,
expr_identical_to()
,
expr_is_a()
,
func_of_newvar_equals()
,
omnitest()
,
val_has_length()
,
val_matches()
,
var_is_a()
1 2 3 4 5 6 | ## Not run:
# Test that the user has entered an expression using sd()
#
expr_uses_func('sd')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.