Skip to content

Commit 0e36367

Browse files
refactor: Fix comments
1 parent 183399d commit 0e36367

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Maths/IsSquareFree.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@
99
/**
1010
* @function isSquareFree
1111
* @description -> Checking if number is square free using prime factorization
12-
* If list of prime factors of the number contains repeated prime factors, then the number is not square free
13-
* therefore, the function will return false
14-
*
15-
* If list of prime factors of the number contains unique prime factors, then the number is square free
16-
* therefore, the function will return true
1712
* @param {number} number
18-
* @returns {boolean}
13+
* @returns {boolean} true if the number has unique prime factors, otherwise false
1914
*/
2015

2116
import { PrimeFactors } from './PrimeFactors.js'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy