# find_dir

Find a directory in a parent directory (supports wildcards).

```rhai
find_dir(dir: &str, pattern: &str) -> String
```

## Examples

```rhai
let godir = find_dir("/usr/local", "go*")?;
print(`Go installed at: ${godir}`);
```

```rhai
let nodemod = find_dir("/app", "node_modules")?;
```
