Module

x/rambda/rambda.js>intersperse

Faster and smaller alternative to Ramda
Latest
function intersperse
import { intersperse } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js";

It adds a separator between members of list.

Parameters

separator: T
list: T[]

Parameters

separator: T

Returns

(list: T[]) => T[]