Skip to contents

Print a typed function's signature

Usage

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

Arguments

x

A typed function.

...

Ignored.

Value

x, invisibly.

Examples

print(fn(x = int[1], y = chr[1] %default% "a", ~ chr[1], { paste0(y, x) }))
#> <fn> (x: int[1], y: chr[1] = "a") -> chr[1]