Skip to main content
Module

x/ts_morph/mod.ts>ArrayLiteralExpression#removeElement

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ArrayLiteralExpression.prototype.removeElement
import { ArrayLiteralExpression } from "https://deno.land/x/ts_morph@15.1.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.