コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >isIcon
isIcon() 関数
指定されたオブジェクトが IIcon かどうかをチェックする型ガード。
署名:
export declare function isIcon(obj: any): obj is IIcon;
パラメータ
戻り値:
obj が IIcon
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `isIcon()` function is a type guard that determines if an object is an `IIcon`. It accepts any object (`obj`) as input. The function returns a boolean, indicating whether the input object satisfies the `IIcon` interface. The primary action is to verify the type of the provided object against the `IIcon` definition, ensuring type safety within the code.\n"],null,[]]