isDir
Checks if the given path is a directory.
This method is marked as unsafe. It can be disabled in certain environments.
Arguments
path
- The path to the file.
Example
{
"$template": {
"$comment": "The field below will be true if the path is a directory",
"test": "{{isDir('data')}}"
}
}