Learn R Programming

wyz.code.metaTesting (version 1.1.22)

usesSemanticArgumentNames: Uses semantic argument names.

Description

Determine if the given function uses semantic argument names.

Usage

usesSemanticArgumentNames(fun_f_1)

Value

A TRUE when arguments used by function are all semantic names.

Arguments

fun_f_1

A single function

Author

tools:::Rd_package_author("wyz.code.metaTesting")

Maintainer: tools:::Rd_package_maintainer("wyz.code.metaTesting")

Examples

Run this code
f <- function(x_) x_

usesSemanticArgumentNames(f)
# TRUE

usesSemanticArgumentNames(sum)
# FALSE

Run the code above in your browser using DataLab