xFirstChild

Type: function
Returns the zeroth (by index) object of the outer object's children.

Body

if (outer === undefined || !('children' in outer)){
    return undefined;
  } else {
    return outer.children[0];
  }

Classpath

Children