공지사항: 
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 액세스 권한을 유지하기 위해 
비상업용 자격 요건을 인증해야 합니다. 2025년 9월 26일까지 인증하지 않으면 액세스가 보류될 수 있습니다.
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.Number.and
    
    
      
    
    
      
      컬렉션을 사용해 정리하기
    
    
      
      내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
두 값이 모두 0이 아닌 경우에만 1을 반환합니다.
| 사용 | 반환 값 | 
|---|
| Number.and(right) | 숫자 | 
| 인수 | 유형 | 세부정보 | 
|---|
| 다음과 같은 경우: left | 숫자 | 왼쪽 값입니다. | 
| right | 숫자 | 오른쪽 값입니다. | 
  
  
  예
  
    
  
  
    
    
  
  
  
  
    
    
    
      코드 편집기 (JavaScript)
    
    
  print('Both 5 and 10 are not 0?', ee.Number(5).and(ee.Number(10)));  // 1
print('Both 5 and 0 are not 0?', ee.Number(5).and(ee.Number(0)));  // 0
  
    
  
  
    
  
  
  
  
    
  
    
  Python 설정
  Python API 및 geemap를 사용한 대화형 개발에 관한 자세한 내용은 
    Python 환경 페이지를 참고하세요.
  import ee
import geemap.core as geemap
  
    
    
      Colab (Python)
    
    
  # 1
display('Both 5 and 10 are not 0?', ee.Number(5).And(ee.Number(10)))
# 0
display('Both 5 and 0 are not 0?', ee.Number(5).And(ee.Number(0)))
  
  
  
  
  
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
  최종 업데이트: 2025-10-30(UTC)
  
  
  
    
      [null,null,["최종 업데이트: 2025-10-30(UTC)"],[],["The `Number.and()` method checks if two numerical values are non-zero. It takes a `right` numerical value as an argument and implicitly uses a `left` value. The method returns 1 if both the left and right values are non-zero; otherwise, it returns 0. Example code is provided in both JavaScript and Python to demonstrate the function's behavior with non-zero and zero inputs.\n"]]