Method dirName documentation

Returns the path of the folder containing the last hierarchical element of the path.

Example

```javascript //"folder/other_folder" bbn.fn.dirName('folder/other_folder/file'); ```

Returns the path of the folder containing the last hierarchical element of the path. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.