使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
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):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The `isPaster()` function determines if a given object is a \"paster.\" It accepts any object as input (`obj`). The function's return value indicates whether the provided object conforms to the `IPaster` interface, using type guards, and further specifies that it utilizes `ICopyData` and `ICopyable` for its operations. If it is a paster then the return will be true. Otherwise, it will be false.\n"],null,[]]