Skip to content

Commit b5727b8

Browse files
committed
docs: add js doc
1 parent 21a49a4 commit b5727b8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

String/CheckPangram.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
/*
2-
Pangram is a sentence that contains all the letters in the alphabet
3-
https://en.wikipedia.org/wiki/Pangram
1+
/**
2+
* @function checkPangram
3+
* @description - Pangram is a sentence that contains all the letters in the alphabet https://en.wikipedia.org/wiki/Pangram
4+
* @param {string} string
5+
* @returns {boolean}
46
*/
5-
67
const checkPangram = (string) => {
78
if (typeof string !== 'string') {
89
throw new TypeError('The given value is not a string')

0 commit comments

Comments
 (0)