docs: function getPointedValue(target, pointer) {
    // If not object, an exception will be thrown.
    if (!_.isPlainObject(target)) {
      throw new ReferenceError(ErrorMessage.INVALID_DOCUMENT_TYPE);
    }
  
    // target is already parsed, create an evaluator for it.
    var evaluator = createPointerEvaluator(target);
  
    // If no pointer was provided, return evaluator function.
    if (_.isUndefined(pointer)) {
      return evaluator;
    } else {
      return evaluator(pointer);
    }
  }