Skip to main content
Latest
File
export default function isPowerOfTwo(n: number): boolean { return Number.isInteger(Math.log2(n));}