Description

Twigkit factory with utility functions for Development.

Methods

hasChildren(transclude)

Method to check if the element has children.
Parameters
ParamTypeDetails
transcludeObjectThe transclude function from the elements post or pre linking function.
Returns
booleanTrue if element has children.

Example

$util.hasChildren(transclude);