Function GodotObject.isClass

Returns true if the object inherits from the given class.

bool isClass (
  const(String) _class
) nothrow @nogc const;