Module

x/lodash_es/src/util.js

lodash for deno use
Latest
import * as mod from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/util.js";

Variables

Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.

Binds methods of an object to the object itself, overwriting the existing method.

Creates a function that returns the result of invoking the given functions with the this binding of the created function, where each successive invocation is supplied the return value of the previous.

This method is like _.flow except that it creates a function that invokes the given functions from right to left.

Creates a function that invokes the method at path of a given object. Any additional arguments are provided to the invoked method.

The opposite of _.method; this method creates a function that invokes the method at a given path of object. Any additional arguments are provided to the invoked method.

Creates a function that invokes iteratees with the arguments it receives and returns their results.

Creates a function that checks if all of the predicates return truthy when invoked with the arguments it receives.

Creates a function that checks if any of the predicates return truthy when invoked with the arguments it receives.

Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. A step of -1 is used if a negative start is specified without an end or step. If end is not specified, it's set to start with start then set to 0.

This method is like _.range except that it populates values in descending order.

Functions

Creates a function that iterates over pairs and invokes the corresponding function of the first predicate to return truthy. The predicate-function pairs are invoked with the this binding and arguments of the created function.

Creates a function that invokes the predicate properties of source with the corresponding property values of a given object, returning true if all predicates return truthy, else false.

Creates a function that returns value.

Checks value to determine whether a default value should be returned in its place. The defaultValue is returned if value is NaN, null, or undefined.

This method returns the first argument it receives.

Creates a function that invokes func with the arguments of the created function. If func is a property name, the created function returns the property value for a given element. If func is an array or object, the created function returns true for elements that contain the equivalent source properties, otherwise it returns false.

Creates a function that performs a partial deep comparison between a given object and source, returning true if the given object has equivalent property values, else false.

Creates a function that performs a partial deep comparison between the value at path of a given object to srcValue, returning true if the object value is equivalent, else false.

Adds all own enumerable string keyed function properties of a source object to the destination object. If object is a function, then methods are added to its prototype as well.

This method returns undefined.

Creates a function that gets the argument at index n. If n is negative, the nth argument from the end is returned.

Creates a function that returns the value at path of a given object.

The opposite of _.property; this method creates a function that returns the value at a given path of object.

This method returns a new empty array.

This method returns false.

This method returns a new empty object.

This method returns an empty string.

This method returns true.

Invokes the iteratee n times, returning an array of the results of each invocation. The iteratee is invoked with one argument; (index).

Converts value to a property path array.

Generates a unique ID. If prefix is given, the ID is appended to it.