Skip to main content
Module

x/denofun/slice.ts>default

Small utility library containing functions, monads and other fun stuff.
Latest
function default
import { default } from "https://deno.land/x/denofun@v0.2.0/slice.ts";

slice return a given slice of an array or string (wrapper over Array.prototype.slice)

Parameters

a: number

start at (inclusive)

b: number

end at (exclusive)

xs: T[] | string

array or string to slice