研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >isPaster
isPaster() 函数
Signature:
export declare function isPaster(obj: any): obj is IPaster<ICopyData, ICopyable<ICopyData>>;
参数
返回:
obj 为 IPaster<ICopyData, ICopyable<ICopyData>>
如果给定对象为粘贴对象,则为 true。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-20。
[null,null,["最后更新时间 (UTC):2024-09-20。"],[[["The `isPaster()` function determines if a given object is a paster, returning true if it is and false otherwise."],["This function accepts any object as input and uses type guards to check if it conforms to the `IPaster` interface."],["A paster, according to this context, is an object that manages the pasting of copied data, potentially adhering to interfaces like `ICopyData` and `ICopyable` for data handling."]]],[]]