Home > @polyspec/crudui-generator-core > canUndo
canUndo() function
Whether a history has a record to restore.
Signature:
export declare function canUndo<T>(history: History<T>): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
history |
History<T> |
Returns:
boolean