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_big_endian
def is_big_endian[target: CompilationTarget = CompilationTarget.current()]() -> Bool
Returns True if the target's endianness is big and False otherwise.
Parameters:
- target (
CompilationTarget): The target architecture.
Returns:
Bool: True if the target is big endian and False otherwise.