Difference between revisions of "Lua:targetIsArm"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m (Examples: Syntax Highlight.)
Line 11: Line 11:
  
 
===Examples===
 
===Examples===
<pre>
+
<syntaxhighlight lang="lua" line>
 
if targetIsArm() then
 
if targetIsArm() then
 
   print("Target process is ARM based")
 
   print("Target process is ARM based")
Line 17: Line 17:
 
   print("Target process is not ARM based")
 
   print("Target process is not ARM based")
 
end
 
end
</pre>
+
</syntaxhighlight>
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}

Revision as of 23:35, 26 June 2026

<> Lua API Reference

function targetIsArm() : boolean

Returns true if the target process is ARM based.

Function Parameters

This function has no parameters.

Returns

boolean — True if the target process is ARM based, otherwise false.

Examples

1 if targetIsArm() then
2   print("Target process is ARM based")
3 else
4   print("Target process is not ARM based")
5 end

Main Pages

Core Lua documentation entry points

Lua
Script Engine