is_flow: Checks if the object is flow object or a flow element

Description Usage Arguments Value Examples

View source: R/flow-functions.R

Description

Checks if the object is flow object or a flow element

Usage

1

Arguments

x

An object.

Value

A logical value, whether x is a flow object.

Examples

1
2
3
fn <- function(x, y) { x + y + 11 }
flow_function <- flow_fn(1, 2, fn = fn)
is_input_flow <- is_flow(flow_function)

numeract/rflow documentation built on May 28, 2019, 3:39 p.m.