# platform_is_x86

Check if running on x86/amd64 architecture.

```rhai
platform_is_x86() -> bool
```

## Examples

```rhai
let arch = if platform_is_x86() { "amd64" } else { "arm64" };
print(`Architecture: ${arch}`);
```

```rhai
if platform_is_x86() {
    download("https://example.com/tool-amd64", "/tmp", 1000);
}
```
