Skip to content

mo

Unofficial

Minified helper to omit specified properties from an object.

Signature:

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

Parameters:

ParameterTypeDescription
targetobjectThe source object to omit properties from.
propertyNamesstring[]The names of the properties to exclude.

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