lib/ambush.js
function details(id) {
	if (!_isValidId(id)) {
		return false;
	}

	const index = _getIndexOfId(id);

	if (index === -1) {
		return logger('AMBUSH_NOT_STORED_ID');
	}

	return goblin.ambush[index];
}
function details(id) {
	if (!_isValidId(id)) {
		return false;
	}

	const index = _getIndexOfId(id);

	if (index === -1) {
		return logger('AMBUSH_NOT_STORED_ID');
	}

	return goblin.ambush[index];
}
function details ( id ) { if ( ! _isValidId ( id ) ) { return false ; } const index = _getIndexOfId ( id ) ; if ( index === - 1 ) { return logger ( 'AMBUSH_NOT_STORED_ID' ) ; } return goblin . ambush [ index ] ; }
Gets an ambush function data.

@param {string} id Ambush function id.
@returns {Ambush} Ambush function data.
Gets an ambush function data .