---
title: "BooleanConstructor | 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 BooleanConstructor

interface BooleanConstructor {  
    new [BooleanConstructor](#constructorbooleanconstructor)(value?: any): [Boolean](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Boolean/);  
    [prototype](#prototype): [Boolean](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Boolean/);  
    <[T](#booleanconstructort)\>(value?: [T](#booleanconstructort)): boolean;  
}

-   BooleanConstructor<[T](#booleanconstructort)\>(value?: [T](#booleanconstructort)): boolean[](#booleanconstructor)
    
    #### Type Parameters
    
    -   T
    
    #### Parameters
    
    -   `Optional`value: [T](#booleanconstructort)
    
    #### Returns boolean
    

##### Index

### Constructors[](#constructors)

[constructor](#constructor)

### Properties[](#properties)

[prototype](#prototype)

## Constructors[](#constructors-1)

### constructor[](#constructor)

-   new BooleanConstructor(value?: any): [Boolean](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Boolean/)[](#constructorbooleanconstructor)
    
    #### Parameters
    
    -   `Optional`value: any
    
    #### Returns [Boolean](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Boolean/)
    

## Properties[](#properties-1)

### `Readonly`prototype[](#prototype)

prototype: [Boolean](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Boolean/)
