/**
 * Check a bigint is odd.
 */
export function isOdd(n: bigint) {
  return (n % 2n) === 1n;
}

