MCPcopy Create free account
hub / github.com/developmentseed/stac-react / makeArrayPayload

Method makeArrayPayload

src/stac-api/index.ts:49–51  ·  view source on GitHub ↗
(arr?: any[])

Source from the content-addressed store, hash-verified

47
48 /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
49 makeArrayPayload(arr?: any[]) {
50 return arr?.length ? arr : undefined;
51 }
52
53 makeDatetimePayload(dateRange?: DateRange): string | undefined {
54 if (!dateRange?.from && !dateRange?.to) {

Callers 1

searchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected