Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > isCopyable
Funkcja isCopyable()
Podpis:
export declare function isCopyable(obj: any): obj is ICopyable<ICopyData>;
Parametry
Parametr |
Typ |
Opis |
obj |
każdy |
|
Zwroty:
obj jest obiektem ICopyable<ICopyData>
wartość true, jeśli dany obiekt jest obiektem ICopyable.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `isCopyable()` function determines if an object can be copied. It accepts any object (`obj`) as a parameter. The function returns a boolean value, specifically `true` if the input object implements the `ICopyable` interface with `ICopyData`, indicating it supports copying. Otherwise it returns false. The function signature and the parameter type are defined.\n"]]