> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-warriorslib-en/warriorslib-functions/warriorslib.ishuman.md).

# WarriorsLib.isHuman

## `WarriorsLib.isHuman(player)`

Indicates whether the player is controlled by a human

#### return value

boolean (0 or 1)

```lua
dbg.stm(WarriorsLib.getPlayerName(1)..", you are ".. (WarriorsLib.isHuman(1) == 1 and "a Human" or "an AI"))
```
