|This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.|
Compute a "nickname" given a fully qualified typename, by returning the last path segment.
File name: FileName.js
In this example, shortName would have a value of "uiOptions."
In this example, nick would have a value of "popup."