Fortran Wiki
extends_type_of

Description

Query dynamic type for extension.

Standard

Fortran 2003 and later

Class

Inquiry function

Syntax

extends_type_of(a, mold)

Arguments

  • a - An object of extensible declared type or unlimited polymorphic.
  • mold - An object of extensible declared type or unlimited polymorphic.

Return Value

The return value is a scalar of type default logical. It is .true. if and only if the dynamic type of a is an extension type of the dynamic type of mold.

See Also

same_type_as