Difference between revisions of "Lua:targetIsAndroid"

From Cheat Engine
Jump to navigation Jump to search
m (Examples: Syntax Highlight.)
m (Added related function template.)
 
Line 20: Line 20:
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
 +
{{TargetIdentity}}

Latest revision as of 23:37, 26 June 2026

<> Lua API Reference

function targetIsAndroid() : boolean

Returns true if the target process is running on the Android operating system.

Function Parameters[edit]

This function has no parameters.

Returns[edit]

boolean — True if the target process is running on Android, otherwise false.

Examples[edit]

1 if targetIsAndroid() then
2   print("Target process is running on Android")
3 else
4   print("Target process is not running on Android")
5 end

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Target / Platform Helpers

Memory / Autorun Helpers

Output / Formatting

printf

Disassembly Helpers

Taskbar Progress Helpers