query.skip() function

Deletes properties from an object.

Signature:

export function skip(obj: any, ...props: string[]): any;

Parameters

Parameter

Type

Description

obj

any

Object to strip.

props

string[]

Property names to delete.

Returns:

any

The same object.

Remarks

MUTATES what it is given and hands it back, so it composes into a call chain. A falsy argument is returned untouched, which makes it safe on an optional value.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.