exprChildrenOrEmptyList: Return the Children of an Expression or the Empty List if...

Description Usage Arguments Value

View source: R/similarity.r

Description

Internal tool function that returns the children expressions of an R expression or the empty list if there are no children, i.e. if the expression is atomic or NULL. If the expression is a "function" expression, i.e. an expression that would evaluate to a function, exprChildrenOrEmptyList will return the function body expression as the only child.

Usage

1

Arguments

expr

The expression to return the children for.

Value

The expression's children as a list, or the empty list if there are none.


rgp documentation built on May 30, 2017, 12:45 a.m.