.. highlightlang:: us .. _xyistydataset: XYIsTYDataset ============= .. index:: XYIsTYDataset .. us.tag XYIsTYDataset ENGLISH xy.data ty.data Changed400 :ref:`XYIsTYDataset` determines whether the dataset is a 1D dataset (yt-dataset). .. function:: b1Dataset = XYIsTYDataset(hData) b1Dataset = XYIsTYDataset(hData, nExt) .. us.return **Return Value** *b1Dataset* is TRUE (1), if the dataset has been created with :ref:`TYCreate`, and FALSE (0), if it has been created with :ref:`XYCreate`. .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. uparam:: nExt *nExt* .. seealso:: :ref:`overview-xy-datasets`, :ref:`TYCreate`, :ref:`XYCreate` :sub:`id-1048388`