MCPcopy
hub / github.com/palantir/blueprint / add

Method add

packages/table/src/regions.ts:229–233  ·  view source on GitHub ↗

* Adds the region to the end of a cloned copy of the supplied region * array.

(regions: IRegion[], region: IRegion)

Source from the content-addressed store, hash-verified

227 * array.
228 */
229 public static add(regions: IRegion[], region: IRegion) {
230 const copy = regions.slice();
231 copy.push(region);
232 return copy;
233 }
234
235 /**
236 * Replaces the region at the end of a cloned copy of the supplied region

Callers 15

popoverTests.tsxFile · 0.45
showFunction · 0.45
getContainerMethod · 0.45
overlayWillOpenMethod · 0.45
maybeAddClassFunction · 0.45
measureTextWidthFunction · 0.45
regionsTests.tsFile · 0.45
DragSelectableClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected