---
title: "CompositeFunctionSpecification | 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.

# Type Alias CompositeFunctionSpecification<T>

CompositeFunctionSpecification:  
    | {  
        default?: [T](#t);  
        property: string;  
        stops: \[{ value: number; zoom: number }, [T](#t)\]\[\];  
        type: "exponential";  
    }  
    | {  
        default?: [T](#t);  
        property: string;  
        stops: \[{ value: number; zoom: number }, [T](#t)\]\[\];  
        type: "interval";  
    }  
    | {  
        default?: [T](#t);  
        property: string;  
        stops: \[{ value: string | number | boolean; zoom: number }, [T](#t)\]\[\];  
        type: "categorical";  
    }

#### Type Parameters

-   T
