封鎖 >isPaster
isPaster() 函式
Signature:
export declare function isPaster(obj: any): obj is IPaster<ICopyData, ICopyable<ICopyData>>;
參數
傳回:
obj 是 IPaster<ICopyData、ICopyable<ICopyData>>
如果指定物件為過時值,則為「true」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-20 (世界標準時間)。
[null,null,["上次更新時間: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."]]],["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"]]