- Preparing search index...
- The search index is not available
neuroglancer
Function suggestLayerNameBasedOnSeparator
- suggestLayerNameBasedOnSeparator(path: string, separator?: string): string
-
Parameters
-
path: string
-
Optional
separator: string
Returns string
Returns the last "component" of path, according to the specified separator. If the separator is not specified, gueses whether it is '/' or ':'.