Function Control.hasIcon

Returns true if icon with given name and associated with Control of given type exists in assigned Theme.

bool hasIcon (
  const(String) name,
  const(String) type = GodotStringLiteral().str()
) nothrow @nogc const;