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

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