Home > @momentum-design/common > Command > clean

Command.clean() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Clean the params mounted to this Command.

Signature:

protected clean(): this;

Returns:

this

  • This Command.

Remarks

This method removes all values that donโ€™t match the provided options parameter when constructing a new Command.