isServer
A boolean indicating whether the current script is executed on the serverside.
Property Definition
ts
export const isServer: boolean;
Returns
- boolean
General Usage
ts
const result = alt.isServer;
console.log(result);
Documentation
No Documentation Provided Yet