src/vuewild.js
function _getRef (refOrQuery) {
  if (typeof refOrQuery.ref === 'function') {
    refOrQuery = refOrQuery.ref()
  } else if (typeof refOrQuery.ref === 'object') {
    refOrQuery = refOrQuery.ref
  }

  return refOrQuery
}
function _getRef (refOrQuery) {
  if (typeof refOrQuery.ref === 'function') {
    refOrQuery = refOrQuery.ref()
  } else if (typeof refOrQuery.ref === 'object') {
    refOrQuery = refOrQuery.ref
  }

  return refOrQuery
}
function _getRef ( refOrQuery ) { if ( typeof refOrQuery . ref === 'function' ) { refOrQuery = refOrQuery . ref ( ) } else if ( typeof refOrQuery . ref === 'object' ) { refOrQuery = refOrQuery . ref } return refOrQuery }
Returns the original reference of a Wilddog reference or query across SDK versions.

@param {WilddogReference|WilddogQuery} refOrQuery
@return {WilddogReference}
Returns the original reference of a Wilddog reference or query across SDK versions .