Walk into a list

Share:

Description

If passed an object such as a nested list, will apply function on inner elements that are not lists.

Usage

1
postwalk(x, func)

Arguments

x

what to check

func

Function to apply if not a list

Value

the function acting on x or an inner element of x

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