API@baeta/util-pathVariablesdirnameVersion: Next (2.x)On this pagedirname const dirname: (p) => string = upath.dirname Return the directory name of a path. Similar to the Unix dirname command. Parameters ParameterTypeDescription p string the path to evaluate. Returns string