Function Theme.hasIcon

Returns true if icon Texture with name is in type. Returns false if the theme does not have type.

bool hasIcon (
  const(String) name,
  const(String) type
) nothrow @nogc const;