mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-08 08:08:51 +01:00
export parseBooleanOperands
This commit is contained in:
parent
2a742db63e
commit
45eeb63a0d
@ -461,7 +461,7 @@ function existsGlobalVariable(name) {
|
|||||||
* @param {object} args Command arguments
|
* @param {object} args Command arguments
|
||||||
* @returns {{a: string | number, b: string | number, rule: string}} Boolean operands
|
* @returns {{a: string | number, b: string | number, rule: string}} Boolean operands
|
||||||
*/
|
*/
|
||||||
function parseBooleanOperands(args) {
|
export function parseBooleanOperands(args) {
|
||||||
// Resolution order: numeric literal, local variable, global variable, string literal
|
// Resolution order: numeric literal, local variable, global variable, string literal
|
||||||
/**
|
/**
|
||||||
* @param {string} operand Boolean operand candidate
|
* @param {string} operand Boolean operand candidate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user