Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/sparkpost/deps.ts

Send emails from deno via the SparkPost API
Latest
import * as sparkpost from "https://deno.land/x/sparkpost@0.1.1/deps.ts";

Variables

Checks if value is classified as an Array object.

This method is like _.assign except that it recursively merges own and inherited enumerable string keyed properties of source objects into the destination object. Source properties that resolve to undefined are skipped if a destination value exists. Array and plain object properties are merged recursively. Other objects and value types are overridden by assignment. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.

Functions

This method is like _.clone except that it recursively clones value.

Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).

Checks if path is a direct property of object.

Checks if value is a plain object, that is, an object created by the Object constructor or one with a [[Prototype]] of null.

Checks if value is classified as a String primitive or object.

Creates an array of values by running each element in collection thru iteratee. The iteratee is invoked with three arguments: (value, index|key, collection).

Sets the value at path of object. If a portion of path doesn't exist, it's created. Arrays are created for missing index properties while objects are created for all other missing properties. Use _.setWith to customize path creation.