registry.js
function licenses(data) {
    if ('string' === typeof data && data) return data;
    if ('type' in data && data.type) return data.type;

    //
    // Common typo's
    //
    if ('type:' in data && data['type:']) return data['type:'];

    return;
  }
function licenses(data) {
    if ('string' === typeof data && data) return data;
    if ('type' in data && data.type) return data.type;

    //
    // Common typo's
    //
    if ('type:' in data && data['type:']) return data['type:'];

    return;
  }
function licenses ( data ) { if ( 'string' === typeof data && data ) return data ; if ( 'type' in data && data . type ) return data . type ; // // Common typo's // if ( 'type:' in data && data [ 'type:' ] ) return data [ 'type:' ] ; return ; }
Return the possible location of license information.

@param {Object} data The object that should contain the license.
@returns {String}
@api private
Return the possible location of license information .