dist/jquery.fancytree-all-deps.js
function() {
			if (this.lazy) {
				if (this.children == null) {
					// null or undefined: Not yet loaded
					return undefined;
				} else if (this.children.length === 0) {
					// Loaded, but response was empty
					return false;
				} else if (
					this.children.length === 1 &&
					this.children[0].isStatusNode()
				) {
					// Currently loading or load error
					return undefined;
				}
				return true;
			}
			return !!(this.children && this.children.length);
		}
function() {
			if (this.lazy) {
				if (this.children == null) {
					// null or undefined: Not yet loaded
					return undefined;
				} else if (this.children.length === 0) {
					// Loaded, but response was empty
					return false;
				} else if (
					this.children.length === 1 &&
					this.children[0].isStatusNode()
				) {
					// Currently loading or load error
					return undefined;
				}
				return true;
			}
			return !!(this.children && this.children.length);
		}
function ( ) { if ( this . lazy ) { if ( this . children == null ) { // null or undefined: Not yet loaded return undefined ; } else if ( this . children . length === 0 ) { // Loaded, but response was empty return false ; } else if ( this . children . length === 1 && this . children [ 0 ] . isStatusNode ( ) ) { // Currently loading or load error return undefined ; } return true ; } return ! ! ( this . children && this . children . length ) ; }
Return true if node has children. Return undefined if not sure, i.e. the node is lazy and not yet loaded).
@returns {boolean | undefined}
Return true if node has children . Return undefined if not sure i . e . the node is lazy and not yet loaded ) .