toString.siglist

0th

Percentile

Print a siglist object

Prints a list of function signature objects.

Usage
"toString"(x, width = getOption("width"), ...)
"print"(x, width = getOption("width"), ...)
Arguments
x
An object of class siglist.
width
Width of string to display.
...
Passed to the equivalent sig method.
Value

toString creates a string representation of a function signature. print is mostly invoked for the side effect of printing a function signature, invisibly returning its input.

Aliases
  • print.siglist
  • toString.siglist
Examples
method_sigs <- list_sigs(pkg2env(methods))
print(method_sigs)
print(method_sigs, width = 40)
print(method_sigs, width = 40, exdent = 2)
toString(method_sigs)
Documentation reproduced from package sig, version 0.0-5, License: Unlimited

Community examples

Looks like there are no examples yet.