code: function last (state, value) {
    try {
      var obj = value || { }
      var keys = objectKeys(obj)
      return obj[keys[keys.length - 1]] || { }
    } catch (err) {
      return { }
    }
  }
docs: /*
  function isFirst (state, value) {
  try {
  var _parent = parent(state, value)
  if (value.extension) {
  return objectKeys(_parent.files).indexOf(value.filename) === 0
  } else {
  return objectKeys(_parent.pages).indexOf(value.name) === 0
  }
  } catch (err) {
  return false
  }
  }
  
  function isLast (state, value) {
  try {
  var _parent = parent(state, value)
  var keys
  if (value.extension) {
  keys = objectKeys(_parent.files)
  return keys.indexOf(value.filename) === keys.length - 1
  } else {
  keys = objectKeys(_parent.pages)
  return keys.indexOf(value.name) === keys.length - 1
  }
  } catch (err) {
  return false
  }
  }