NCL Home > Documentation > HLUs > API

NhlIsDataSpec

The Fortran name of this function is NhlFIsDataSpec.

This boolean function returns True if the given id identifies a DataSpec class object, and False otherwise.


C Synopsis

#include </ncarg/hlu/DataSpec.h>

NhlBoolean NhlIsDataSpec(
	        int	id,
		)

Fortran Synopsis

      subroutine NhlFIsDataSpec(id, istatus)
      integer id, istatus

Arguments

id (input)
Specifies an integer id to an existing HLU object.
istatus (output, Fortran only)
On output, the status of the object.

Description

You use this function to determine if the id you supply identifies a DataSpec class object.

Return values

The NhlIsDataSpec C function returns True if the id identifies a DataSpec class object, and False otherwise; the NhlFIsDataSpec Fortran subroutine returns the status in istatus.