Mojo function
is_little_endian
is_little_endian[target: target = current_target()]() -> Bool
Returns True if the host endianness is little and False otherwise.
Parameters:
- βtarget (
target
): The target architecture.
Returns:
True if the host target is little endian and False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?