From: Chris Duncan Date: Thu, 15 Oct 2026 17:31:45 +0000 (-0700) Subject: Improve doc comment. X-Git-Tag: v2.0.0~1^2~22 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=75e07958c84587ba111630389e768ec71583bb27;p=nano25519.git Improve doc comment. --- 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. */