mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-24 15:38:43 +02:00
full = false to prevent IDE complaints
Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
This commit is contained in:
parent
a1abe14e02
commit
d26f99b496
@ -296,7 +296,7 @@ export function getGroupNames() {
|
|||||||
* @param {Boolean} full Whether to return a key-value object containing extra data
|
* @param {Boolean} full Whether to return a key-value object containing extra data
|
||||||
* @returns {number|Object} 0-based character ID or key-value object if full is true
|
* @returns {number|Object} 0-based character ID or key-value object if full is true
|
||||||
*/
|
*/
|
||||||
export function findGroupMemberId(arg, full) {
|
export function findGroupMemberId(arg, full = false) {
|
||||||
arg = arg?.trim();
|
arg = arg?.trim();
|
||||||
|
|
||||||
if (!arg) {
|
if (!arg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user