For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
is_little_endian
def is_little_endian[target: CompilationTarget = CompilationTarget.current()]() -> Bool
Returns True if the target's endianness is little and False otherwise.
Parameters:
- target (
CompilationTarget): The target architecture.
Returns:
Bool: True if the target is little endian and False otherwise.