# platform_is_osx

Check if running on macOS.

```rhai
platform_is_osx() -> bool
```

## Examples

```rhai
if platform_is_osx() {
    print("Running on macOS");
}
```

```rhai
let os = if platform_is_osx() { "darwin" } else { "linux" };
```
