Is the function a flow function (as returned by make_flow_fn)?

is_flow_fn(fn)

Arguments

fn

A function.

Value

A logical value, whether fn is a flow function.

Examples

fn <- function(x, y) { x + y + 12 } flowed_function <- flow_fn(2, 3, fn = fn)
#> New cache: fn=fn / fn_id=1 / fn_key=9ea087ad94ba4d61
is_flow_function <- is_flow_fn(fn = flowed_function)