blockly > isSerializable
Funkcja isSerializable()
Ochrona typu, która sprawdza, czy dany obiekt można ISerializable.
Podpis:
export declare function isSerializable(obj: any): obj is ISerializable;
Parametry
Parametr |
Typ |
Opis |
obj |
każdy |
|
Zwroty:
Plik obj jest ISerializable
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: 2024-09-20 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-20 UTC."],[[["`isSerializable()` is a type guard function in Blockly."],["It checks if a given object implements the `ISerializable` interface."],["The function accepts any object as input (`obj`) and returns a boolean indicating whether the object is an `ISerializable`."]]],[]]