---
title: "Object | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface Object

interface Object {  
    [constructor](#constructor): Function;  
    [hasOwnProperty](#hasownproperty-1)(v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)): boolean;  
    [isPrototypeOf](#isprototypeof-1)(v: Object): boolean;  
    [propertyIsEnumerable](#propertyisenumerable-1)(v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)): boolean;  
    [toLocaleString](#tolocalestring-1)(): string;  
    [toString](#tostring-1)(): string;  
    [valueOf](#valueof-1)(): Object;  
}

##### Index

### Properties[](#properties)

[constructor](#constructor)

### Methods[](#methods)

[hasOwnProperty](#hasownproperty) [isPrototypeOf](#isprototypeof) [propertyIsEnumerable](#propertyisenumerable) [toLocaleString](#tolocalestring) [toString](#tostring) [valueOf](#valueof)

## Properties[](#properties-1)

### constructor[](#constructor)

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

## Methods[](#methods-1)

### hasOwnProperty[](#hasownproperty)

-   hasOwnProperty(v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)): boolean[](#hasownproperty-1)
    
    Determines whether an object has a property with the specified name.
    
    #### Parameters
    
    -   v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)
        
        A property name.
        
    
    #### Returns boolean
    

### isPrototypeOf[](#isprototypeof)

-   isPrototypeOf(v: Object): boolean[](#isprototypeof-1)
    
    Determines whether an object exists in another object's prototype chain.
    
    #### Parameters
    
    -   v: Object
        
        Another object whose prototype chain is to be checked.
        
    
    #### Returns boolean
    

### propertyIsEnumerable[](#propertyisenumerable)

-   propertyIsEnumerable(v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)): boolean[](#propertyisenumerable-1)
    
    Determines whether a specified property is enumerable.
    
    #### Parameters
    
    -   v: [PropertyKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyKey/)
        
        A property name.
        
    
    #### Returns boolean
    

### toLocaleString[](#tolocalestring)

-   toLocaleString(): string[](#tolocalestring-1)
    
    Returns a date converted to a string using the current locale.
    
    #### Returns string
    

### toString[](#tostring)

-   toString(): string[](#tostring-1)
    
    Returns a string representation of an object.
    
    #### Returns string
    

### valueOf[](#valueof)

-   valueOf(): Object[](#valueof-1)
    
    Returns the primitive value of the specified object.
    
    #### Returns Object
