geostyler
Version:
Framework for styling geodata
16 lines (15 loc) • 372 B
TypeScript
import { VectorData, RasterData } from 'geostyler-data';
/**
* @class DataUtil
*/
declare class DataUtil {
/**
* Checks if Data object is of type VectorData.
*/
static isVector: (v: any) => v is VectorData;
/**
* Checks if Data object is of type RasterData.
*/
static isRaster: (r: any) => r is RasterData;
}
export default DataUtil;