Skip to main content

Built and signed on GitHub Actions

Pure functions for common tasks related to collection types like arrays and objects

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 months ago (1.0.10)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

type alias ObjectXorKeys

Object with keys in either T or U but not in both

Type Parameters

X = Omit<T, keyof U> & Omit<U, keyof T>
Y = [K in keyof X]: X[K]

Definition

Add Package

deno add jsr:@std/collections

Import symbol

import { type ObjectXorKeys } from "@std/collections/deep-merge";

---- OR ----

Import directly with a jsr specifier

import { type ObjectXorKeys } from "jsr:@std/collections/deep-merge";

Add Package

npx jsr add @std/collections

Import symbol

import { type ObjectXorKeys } from "@std/collections/deep-merge";

Add Package

yarn dlx jsr add @std/collections

Import symbol

import { type ObjectXorKeys } from "@std/collections/deep-merge";

Add Package

pnpm dlx jsr add @std/collections

Import symbol

import { type ObjectXorKeys } from "@std/collections/deep-merge";

Add Package

bunx jsr add @std/collections

Import symbol

import { type ObjectXorKeys } from "@std/collections/deep-merge";