Purpose
Inquires whether the dynamic type
of A is an extension type of the dynamic type of MOLD.
Argument type and attributes
- A
- Must be an object of extensible type. If A is
a pointer, A must not have an undefined
association status.
- MOLD
- Must be an object of extensible type. If MOLD is
a pointer, MOLD must not have an undefined
association status.
Result type and attributes
Default logical
scalar
Result value
- If MOLD is unlimited polymorphic and
is a disassociated pointer or unallocated allocatable, the result
is true.
- Otherwise, if A is unlimited polymorphic
and is either a disassociated pointer or unallocated allocatable,
the result is false.
- Otherwise, if the dynamic type of A is
an extension type of the dynamic type of MOLD,
the result is true.
- Otherwise, the result is false.
Note: The result depends only on the dynamic types
of A and MOLD.
Differences in type parameters are ignored.