Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>splitAt

Faster and smaller alternative to Ramda
Go to Latest
function splitAt
import { splitAt } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

index: number
input: T[]

Returns

[T[], T[]]

Parameters

index: number
input: string

Returns

[string, string]

Parameters

index: number

Returns

{ <T>(input: T[]): [T[], T[]]; (input: string): [string, string]; }