fdoc

functionis_procedureelemental

elemental logical function is_procedure(kind)

True if kind is a subroutine or function.

Arguments

NameTypeIntentAttributesDescription
kindintegerin

one of the E_* constants

Result

NameTypeAttributesDescription
is_procedurelogical

Source

Show the code
elemental logical function is_procedure(kind)
    integer, intent(in) :: kind     !! one of the `E_*` constants

    is_procedure = kind == E_SUBROUTINE .or. kind == E_FUNCTION
end function is_procedure

Graphs

Called by