Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function endianness
import { endianness } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/node/os.ts";

Returns a string identifying the endianness of the CPU for which the Deno binary was compiled. Possible values are 'BE' for big endian and 'LE' for little endian.

Returns

"BE" | "LE"