ShareCopy to ClipboardRawPreviewconst isPowerOfTen = (n: number) => Math.log10(n) % 1 === 0; Power of ten00gioyikCodiga's TypeScript RecipesChecks if the given number is a power of 10.0 CommentsAdd CommentLog in to add a comment