Variable $SERVERConst

$SERVER: boolean

A special macro that will make a block of code server-only, stripping it from client code.

Can only be used within an if statement - e.g.

if ($SERVER) {
print("I only print on the server!");
}

To mark a whole method as server-only, see Server.