Module

x/lodash_es/src/seq.js>plant

lodash for deno use
Latest
function plant
import { plant } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/seq.js";

Creates a clone of the chain sequence planting value as the wrapped value.

Examples

function square(n) { return n * n; }

var wrapped = _([1, 2]).map(square); var other = wrapped.plant([3, 4]);

other.value(); // => [9, 16]

wrapped.value(); // => [1, 4]

Parameters

value

The value to plant.