Difference between revisions of "Lua:targetIsArm"
Jump to navigation
Jump to search
(Initial page creation.) |
m (→Examples: Syntax Highlight.) |
||
| Line 11: | Line 11: | ||
===Examples=== | ===Examples=== | ||
| − | < | + | <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 | ||
| − | </ | + | </syntaxhighlight> |
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
Revision as of 23:35, 26 June 2026
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