!는 입력 값을 boolean으로 형변환 해준다. !!는 타입의 데이터를 boolean 타입으로 명시적으로 형 변환(Type Conversion)하기 위해 사용
https://ifuwanna.tistory.com/278