Module

x/ts_morph/mod.ts>ArrayLiteralExpression#removeElement

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method ArrayLiteralExpression.prototype.removeElement
import { ArrayLiteralExpression } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Removes an element from the array.

Parameters

index: number
  • Index to remove from.

Removes an element from the array.

Parameters

element: Expression
  • Element to remove.