Skip to content

mo

Unofficial

Minified helper to omit specified properties from an object.

Signature:

function mo(target: object, propertyNames: string[]): object

Parameters:

Parameter Type Description
target object The source object to omit properties from.
propertyNames string[] The names of the properties to exclude.

Returns: object — A new object without the specified properties.