]> git.codecow.com Git - nano25519.git/commitdiff
Improve doc comment.
authorChris Duncan <chris@codecow.com>
Thu, 15 Oct 2026 17:31:45 +0000 (10:31 -0700)
committerChris Duncan <chris@codecow.com>
Thu, 15 Oct 2026 17:31:45 +0000 (10:31 -0700)
src/lib/primordials.ts

index 961b39393f5f09d96b4311134b9a951f64e51e3b..c089504ee98289bae97dd37a8ef495b1a5527bf8 100644 (file)
@@ -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. */