Functionsparent_dirVersion: v4.23On this pageparent_dirExtracts the parent directory from a file path.parent_dir(x:string) -> stringDescriptionThe parent_dir function returns the parent directory path of the given file path, excluding the file name.ExamplesExtract the parent directory from a file pathfrom {x: parent_dir("/path/to/log.json")}{x: "/path/to"}See Alsofile_name