Skip to main content

Mojo function

is_big_endian

is_big_endian[target: __mlir_type.!kgen.target = _current_target()]() -> Bool

Returns True if the target's endianness is big and False otherwise.

Parameters:

  • target (__mlir_type.!kgen.target``): The target architecture.

Returns:

Bool: True if the target is big endian and False otherwise.

Was this page helpful?