Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/equal/deps.ts

TypeScript-first deep equivalence comparison between two values
Latest
import * as equal from "https://deno.land/x/equal@v1.5.0/deps.ts";

Variables

Returns true if both arguments are true; otherwise false.

Safe getter for constructor.name.

Returns an array of key/values of the enumerable properties of an object.

v
F

A function that always returns false. Any passed in parameters are ignored.

Returns whether or not an object has an own property with the specified name.

Return the onTrue or the onFalse value depending upon the result of the condition val.

Creates a function that will process either the onTrue or the onFalse function depending upon the result of the condition predicate.

Whatever argument is Array or not.

Whatever argument is type of boolean or not.

Whatever argument is type of function or not.

Whatever argument is JSON Object or not.

Whatever argument is type of undefined or null.

Whatever argument is type of number or not.

Whatever argument is type of object or not.

Whatever argument is primitive or not.

Whatever argument is type of symbol or not.

Returns the number of elements in the array or string length.

v
N

Returns the ! of its argument.

Returns the function as is with return value !.

Returns true if one or both of its arguments are true; otherwise false.

Returns true if one of the arguments is truthy and the other is falsy; otherwise false.

Type Aliases

Type of any function.

Alias for Primitive values types.