first commit

This commit is contained in:
2025-10-10 18:00:07 -04:00
commit 06b59a3a99
3786 changed files with 571590 additions and 0 deletions
@@ -0,0 +1,22 @@
/*
有効な比較演算子の文字列か
[比較演算子 - JavaScript | MDN](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)
*/
// 有効な比較演算子のset
const set_co = new Set([
'<',
'>',
'<=',
'>=',
'==',
'!=',
'===',
'!=='
]);
function isComparisonOperator(arg){
return typeof arg==='string' && set_co.has(arg);
}
export default isComparisonOperator;