R/matchFunctionSignature.R

Defines functions matchFunctionSignature

Documented in matchFunctionSignature

matchFunctionSignature <- function(aFunction_f_1, aFunctionTemplate_f_1 = function(){}) {
  if (!is.function(aFunction_f_1)) return(FALSE)
  identical(
    retrieveFunctionArguments(aFunctionTemplate_f_1),
    retrieveFunctionArguments(aFunction_f_1)
  )
}

Try the wyz.code.offensiveProgramming package in your browser

Any scripts or data that you put into this service are public.

wyz.code.offensiveProgramming documentation built on Sept. 25, 2023, 9:05 a.m.