Skip to content

Commit 13f45f4

Browse files
committed
Update
1 parent d5bd7a1 commit 13f45f4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: vs-lt/1832.判断句子是否为全字母句.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* @lc app=leetcode.cn id=1832 lang=javascript
3+
*
4+
* [1832] 判断句子是否为全字母句
5+
*/
6+
7+
// @lc code=start
8+
/**
9+
* @param {string} sentence
10+
* @return {boolean}
11+
*/
12+
var checkIfPangram = function(sentence) {
13+
return new Set(sentence).size === 26;
14+
};
15+
// @lc code=end
16+

0 commit comments

Comments
 (0)