Skip to main content

Mojo function

is_little_endian

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

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

Parameters:

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

Returns:

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

Was this page helpful?