Stay organized with collections
Save and categorize content based on your preferences.
blockly > isPaster
isPaster() function
Signature:
export declare function isPaster(obj: any): obj is IPaster<ICopyData, ICopyable<ICopyData>>;
Parameters
Parameter |
Type |
Description |
obj |
any |
|
Returns:
obj is IPaster<ICopyData, ICopyable<ICopyData>>
True if the given object is a paster.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["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."]]],[]]