Files
blockly/core/interfaces/i_deletable.ts
2022-08-16 16:11:00 -07:00

29 lines
531 B
TypeScript

/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* The interface for an object that is deletable.
*
* @namespace Blockly.IDeletable
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.IDeletable');
/**
* The interface for an object that can be deleted.
*
* @alias Blockly.IDeletable
*/
export interface IDeletable {
/**
* Get whether this object is deletable or not.
*
* @returns True if deletable.
*/
isDeletable(): boolean;
}