print.decorated {tinsel}R Documentation

Print a Decorated Function

Description

The print.decorated function naively prints x as a function. In reality, the function printed may be the final of any number of decorators to a decoratee. To get the original function or the decorators wrapping it use original and decorators.

Usage

## S3 method for class 'decorated'
print(x, ...)

Arguments

x

A decorated function.

...

Additional arguments for next print method.

Examples

source_decoratees(tinsel_example('tags.R'))

print(html_paragraph)
print(html_bold)


[Package tinsel version 0.0.1 Index]