Skip to main content
Module

x/rambda/immutable.d.ts>split

Faster and smaller alternative to Ramda
Go to Latest
function split
import { split } from "https://deno.land/x/rambda@v7.0.1/immutable.d.ts";

Curried version of String.prototype.split

Parameters

separator: string | RegExp

Returns

(str: string) => readonly string[]

Parameters

separator: string | RegExp
str: string

Returns

readonly string[]