.. NumLoops

.. default - domain::js

.. include:: /includes/standard.rst

=================
NumLoops (Kernel)
=================

.. function:: NumLoops(view)

	
	By specifying a instance or class as the parameter, it looks up the view property and returns the total number of loops in the view. If the view is not loaded, it will automatically load it.
	
	:param heapPtr view: An instance or class of :class:`View`.
	:returns: The number of loops in the current view of the View.


