pd_is_multi_line: Check whether a parse table is a multi-line token

View source: R/indent.R

pd_is_multi_lineR Documentation

Check whether a parse table is a multi-line token

Description

A token is a multi-line expression if and only if:

Usage

pd_is_multi_line(pd)

Arguments

pd

A parse table.

Details

  • it contains a line break.

  • it has at least one child that is a multi-line expression itself.


styler documentation built on Aug. 29, 2023, 5:10 p.m.