@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
8 lines (7 loc) • 511 B
TypeScript
import { SketchGeometryTypes, SketchCollection } from "../types/index.js";
/**
* If sketch collection passes sketchTest, then returns new collection
* with mergeSketchColl sketches appended and updated bbox
*/
export declare function includeVirtualSketch<G extends SketchGeometryTypes>(sketchColl: SketchCollection<G>, mergeSketchColl: SketchCollection<G>, sketchTest: (collection: SketchCollection) => boolean): SketchCollection<G>;
export declare const isTruthyAttributeValue: (value: unknown) => boolean;