same_type_as(3f) - [FORTRAN:INTRINSIC] Query dynamic types for equality
Syntax
Description
Arguments
Return Value
Standard
Class
See Also
result = same_type_as(a, b)
Query dynamic types for equality.
A - Shall be an object of extensible declared type or unlimited polymorphic. B - Shall be an object of extensible declared type or unlimited polymorphic.
The return value is a scalar of type default logical. It is true if and only if the dynamic type of A is the same as the dynamic type of B.
[[Fortran 2003]] and later
[[Inquiry function]]
[[extends_type_of]]
same_type_as (3) | March 19, 2019 |