reduces a chain to its inputs and outputs

Description

From a chain returns the reduced chain comprising only inputs (that is root nodes) and outputs (that is colliders and ends which are not roots)

Usage

1
inout4chain(chain)

Arguments

chain

The chain object to consider.

Value

The resulting chain

Examples

1

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.