Formulas/FactValues.php
public static function getType( $fact )
	{
		if ( ! $fact instanceof DOMXPathNavigator )
		{
			throw new \Exception( "Invalid fact variable passed to FactValues::isItem" );
		}

		return \XBRL_Types::getInstance()->getTypeForDOMNode( $fact->getUnderlyingObject() );
	}
public static function getType( $fact )
	{
		if ( ! $fact instanceof DOMXPathNavigator )
		{
			throw new \Exception( "Invalid fact variable passed to FactValues::isItem" );
		}

		return \XBRL_Types::getInstance()->getTypeForDOMNode( $fact->getUnderlyingObject() );
	}
public static function getType ( $ fact ) { if ( ! $ fact instanceof DOMXPathNavigator ) { throw new \ Exception ( "Invalid fact variable passed to FactValues::isItem" ) ; } return \ XBRL_Types :: getInstance ( ) -> getTypeForDOMNode ( $ fact -> getUnderlyingObject ( ) ) ; }
Get the schema type for the fact
@param DOMXPathNavigator $fact
@return string|bool
@throws \Exception
Get the schema type for the fact