إشعار: يجب 
إثبات الأهلية للاستخدام غير التجاري لجميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل 
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إليها. إذا لم يتم تأكيد حسابك بحلول 26 سبتمبر 2025، قد يتم تعليق إمكانية الوصول إليه.
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.Algorithms.ObjectType
    
    
      
    
    
      
      تنظيم صفحاتك في مجموعات
    
    
      
      يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
تعرض هذه الدالة سلسلة تمثّل نوع العنصر المحدّد.
| الاستخدام | المرتجعات | 
|---|
| ee.Algorithms.ObjectType(value) | سلسلة | 
| الوسيطة | النوع | التفاصيل | 
|---|
| value | كائن، القيمة التلقائية: null | الكائن المطلوب الحصول على نوعه. | 
  
  
  أمثلة
  
    
  
  
    
    
  
  
  
  
    
    
    
      محرّر الرموز البرمجية (JavaScript)
    
    
  print(ee.Algorithms.ObjectType(1));  // The string "Integer"
print(ee.Algorithms.ObjectType(ee.Number(1)));  // The string "Integer"
print(ee.Algorithms.ObjectType(ee.String('a string')));  // The string "String"
print(ee.Algorithms.ObjectType(ee.List([1, 'a string'])));  // The string "List"
// ee.Algorithms.ObjectType can be used to get the type of properties
// of ee.Image or ee.Feature objects.
var feature = ee.Feature(
  null,  // No need for geometry in this example.
  {
    'int': 42,
    'int8': ee.Number(-3).int8(),
  });
// The string "Integer"
print('int:', ee.Algorithms.ObjectType(feature.get('int')));
// The string "Long"
print('int8:', ee.Algorithms.ObjectType(feature.get('int8')));
  
    
  
  
    
  
  
  
  
    
  
    
  إعداد Python
  راجِع صفحة 
    بيئة Python للحصول على معلومات حول واجهة برمجة التطبيقات Python واستخدام
    geemap للتطوير التفاعلي.
  import ee
import geemap.core as geemap
  
    
    
      Colab (Python)
    
    
  display(ee.Algorithms.ObjectType(ee.Number(1)))  # The string "Integer"
display(ee.Algorithms.ObjectType(ee.String('a string')))  # The string "String"
display(ee.Algorithms.ObjectType(ee.List([1, 'a string'])))  # The string "List"
# ee.Algorithms.ObjectType can be used to get the type of properties
# of ee.Image or ee.Feature objects.
feature = ee.Feature(
    None,  # No need for geometry in this example.
    {
        'int': 42,
        'int8': ee.Number(-3).int8(),
    }
)
# The string "Integer"
display('int:', ee.Algorithms.ObjectType(feature.get('int')))
# The string "Long"
display('int8:', ee.Algorithms.ObjectType(feature.get('int8')))
  
  
  
  
  
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
  تاريخ التعديل الأخير: 2025-10-30 (حسب التوقيت العالمي المتفَّق عليه)
  
  
  
    
      [null,null,["تاريخ التعديل الأخير: 2025-10-30 (حسب التوقيت العالمي المتفَّق عليه)"],[],["`ee.Algorithms.ObjectType(value)` determines the data type of an object, returning it as a string. The function accepts an object as input (`value`).  It can identify types like \"Integer,\" \"String,\" and \"List.\" It's also applicable to properties within `ee.Image` or `ee.Feature` objects, such as retrieving the type of a feature's integer attribute, which is \"Integer\" or retrieving the type of a feature's `int8` attribute which is \"Long\".\n"]]