@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
18 lines (17 loc) • 545 B
TypeScript
/**
* General layer utilities for the portal application.
*
* @internal
* @internal
*/
import type FeatureLayer from "../../layers/FeatureLayer.js";
/**
* Determine whether the layer supports field configuration. Returns `true` if the layer supports field configuration, `false` otherwise.
*
* @param layer - The layer to check.
* @returns `true` if the layer supports field configuration, `false` otherwise.
* @internal
* @since 5.0
* @internal
*/
export function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;