@waylis/core / createCommand
Function: createCommand()
ts
function createCommand(params: Command): Command;Defined in: scene/command.ts:26
Create a new Command object.
This function is a simple factory for creating Command instances, ensuring the object matches the expected interface and restrictions.
Parameters
params
The parameters for the command.
Returns
The newly created Command object.