public @NotNull ObjectAssert isInstanceOf(@NotNull Class<?> type) {
    """
	Verifies that the actual {@code Object} is an instance of the given type.
	
	@param type the type to check the actual {@code Object} against.
	@return this assertion object.
	@throws AssertionError       if the actual {@code Object} is {@code null}.
	@throws AssertionError       if the actual {@code Object} is not an instance of the given type.
	@throws NullPointerException if the given type is {@code null}.
    """
    isNotNull();
    checkNotNull(type);
    Class<?> current = actual.getClass();
    if (type.isAssignableFrom(current)) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(format("expected instance of:<%s> but was instance of:<%s>", type, current));
  }
public @NotNull ObjectAssert isInstanceOf(@NotNull Class<?> type) {
    isNotNull();
    checkNotNull(type);
    Class<?> current = actual.getClass();
    if (type.isAssignableFrom(current)) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(format("expected instance of:<%s> but was instance of:<%s>", type, current));
  }
public @ NotNull ObjectAssert isInstanceOf ( @ NotNull Class < ? > type ) { isNotNull ( ) ; checkNotNull ( type ) ; Class < ? > current = actual . getClass ( ) ; if ( type . isAssignableFrom ( current ) ) { return this ; } failIfCustomMessageIsSet ( ) ; throw failure ( format ( "expected instance of:<%s> but was instance of:<%s>" , type , current ) ) ; }
Verifies that the actual {@code Object} is an instance of the given type.

@param type the type to check the actual {@code Object} against.
@return this assertion object.
@throws AssertionError       if the actual {@code Object} is {@code null}.
@throws AssertionError       if the actual {@code Object} is not an instance of the given type.
@throws NullPointerException if the given type is {@code null}.
Verifies that the actual { @code Object } is an instance of the given type .