Constant

# TargetLittleEndian

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Used to indicate that you are compiling for an OS that uses the Little Endian byte order.

## Usage

``` xojo
result = TargetLittleEndian
```

| Part   | Type                               | Description                                                                                               |
|--------|------------------------------------|-----------------------------------------------------------------------------------------------------------|
| result | `Boolean</api/data_types/boolean>` | Returns `True</api/language/true>` if you are compiling for an OS that uses the little Endian byte order. |

## Notes

Little Endian means that the low-order byte is stored in memory at the lowest address and the high-order byte is stored at the highest address. All computing devices supported by Xojo use the Little Endian byte order.

Intel x86, Apple M1 and all ARM CPUs are little-endian.

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`DebugBuild</api/compiler_directives/debugbuild>`, `XojoVersion</api/language/xojoversion>`, `XojoVersionString</api/language/xojoversionstring>`, `TargetAndroid</api/compiler_directives/targetandroid>`, `TargetBigEndian</api/compiler_directives/targetbigendian>`, `TargetDesktop</api/compiler_directives/targetdesktop>`, `TargetLinux</api/compiler_directives/targetlinux>`, `TargetMachO</api/compiler_directives/targetmacho>`, `TargetMacOS</api/compiler_directives/targetmacos>`, `TargetMobile</api/compiler_directives/targetmobile>`, `TargetWeb</api/compiler_directives/targetweb>`, `TargetWindows</api/compiler_directives/targetwindows>`, `TargetX86</api/compiler_directives/targetx86>` constants; `＃If...＃EndIf</api/compiler_directives/if...endif>` statement.

</div>
