import getUrlParam from'../getUrlParam.js';
/**
* Retrieves the current users (Moodle) ID.
* @returns {string | null} The Moodle ID, or `null` if not available.
*/exportdefaultfunctiongetVLEUserId() {
returngetUrlParam('userId') || getUrlParam('_u');
}