getLastElementInPath: Get the last element in a path string

Description Usage Arguments

Description

For some reason sometimes data.tree will return an entire path string to a node instead of just the last element we need to rebuild the tree. This helps fix that by taking the last element out of the path and returning it.

Usage

1

Arguments

val

the path to get the last element out of


cwhd/hdp-r documentation built on May 9, 2019, 4:57 a.m.