Skip to main content
Module

x/cheerio/mod.ts>cheerio.merge

Cheerio port to Deno with typings
Latest
variable cheerio.merge
Deprecated
import { cheerio } from "https://deno.land/x/cheerio@1.0.7/mod.ts";
const { merge } = cheerio;

In order to promote consistency with the jQuery library, users are encouraged to instead use the static method of the same name.

Examples

Example 1

const $ = cheerio.load('');

$.merge([1, 2], [3, 4]);
//=> [1, 2, 3, 4]

type

staticMethods.merge