if(!this.checkList.some(item => item.crCd === crCd && item.itemCd === itemCd && item.seq === seq)) { this.checkList.push({ crCd : crCd, itemCd : itemCd, seq : seq}); } some() ๋ฉ์๋๋ ์ฃผ์ด์ง ์กฐ๊ฑด์ ๋ง์กฑํ๋ ์์๊ฐ ๋ฐฐ์ด์ ์๋์ง ํ์ธํฉ๋๋ค. => boolean ๊ฐ ๋ฐํ ์ฌ๊ธฐ์๋ ๋ฐฐ์ด this.checkList ์์ ๋์ผํ crCd, itemCd, seq๋ฅผ ๊ฐ์ง ๊ฐ์ฒด๊ฐ ์๋์ง ํ์ธํฉ๋๋ค. ๋ง์ฝ ํด๋นํ๋ ๊ฐ์ฒด๊ฐ ์๋ค๋ฉด push()๋ฅผ ์ฌ์ฉํ์ฌ ์๋ก์ด ๊ฐ์ฒด๋ฅผ ์ถ๊ฐํฉ๋๋ค.