Skip to main content
Module

x/fun/array.ts>_unsafeDeleteAt

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function _unsafeDeleteAt
import { _unsafeDeleteAt } from "https://deno.land/x/fun@v2.0.0-alpha.6/array.ts";

UNSAFE This operation creates a new array from ua with the value deleted at the given index. The deletiong index must be tested as in bounds before calling this function. This function is intended for internal use only and thus has no api guaruntees.

Parameters

index: number
ua: ReadonlyArray<A>

Returns

ReadonlyArray<A>