print.typed_function: Print method for typed functions

View source: R/fun.R

print.typed_functionR Documentation

Print method for typed functions

Description

Provides a custom print method for typed functions, displaying their parameter types and return type.

Usage

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

Arguments

x

A typed function.

...

Additional arguments (not used).

Value

No return value, called for side effects. Prints a human-readable representation of the typed function to the console, showing the argument types and return type.


interface documentation built on Sept. 11, 2024, 8:59 p.m.