powered by
Determine if two function share the same signature of arguments
shareSameSignature(function_f_1, functionTemplate_f_1)
A R function to check arguments from
A R function to check arguments with
A boolean value.
boolean
# NOT RUN { # typical examples shareSameSignature(cos, sin) # TRUE shareSameSignature(is.logical, sin) # TRUE shareSameSignature(sum, cos) # FALSE # }
Run the code above in your browser using DataLab