is_filled Function

private elemental function is_filled(this)

Arguments

Type IntentOptional AttributesName
class(container), intent(in) :: this

Return Value logical

Description

Returns .true. if a value has been assigned to the container, .false. otherwise.


Source Code

  elemental logical function is_filled(this)
    !! Author: Chris MacMackin
    !! Date: March 2016
    !!
    !! Returns `.true.` if a value has been assigned to the container,
    !! `.false.` otherwise.
    class(container), intent(in) :: this
    is_filled = this%filled
  end function is_filled