From 75e07958c84587ba111630389e768ec71583bb27 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 15 Oct 2026 10:31:45 -0700 Subject: [PATCH] Improve doc comment. --- src/lib/primordials.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/primordials.ts b/src/lib/primordials.ts index 961b393..c089504 100644 --- a/src/lib/primordials.ts +++ b/src/lib/primordials.ts @@ -130,7 +130,7 @@ export function isBytes (a: unknown): a is Bytes { return getTag(a) === 'Uint8Array' && isArrayBuffer(getBuffer(a)) } -/** Checks system endianness. Returns true if little-endian, else false. */ +/** True on little-endian system which aligns with WASM spec. */ export const isLE = allocate(getBuffer(new Words([1])))[0] === 1 /** Sets `array[index] = value`, avoiding prototypes and getters/setters. */ -- 2.52.0