Function Control.hasConstant

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

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