You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really...More of an inefficiency. The issue is that one of my experimental variables is very dynamic in nature:
For example, each key I am passing could be a different capital letter of the alphabet. The problem is that in order to handle the case, my AttributeName in Empirica.on(model, attributeName, callback) would need to account for every case. (E.g 26 different letters)
Describe the solution you'd like
Ideally, I would like an option to submit one of the following:
A case function to handle multiple possible matches
An array of strings as an acceptable attribute name where each one will be checked
A third functionality where if you instead pass a variable instead of a string to attributeName this catch whatever key is set in stage.
Is there an existing issue for this?
Is your feature request related to a problem?
Not really...More of an inefficiency. The issue is that one of my experimental variables is very dynamic in nature:
For example, each key I am passing could be a different capital letter of the alphabet. The problem is that in order to handle the case, my AttributeName in Empirica.on(model, attributeName, callback) would need to account for every case. (E.g 26 different letters)
Describe the solution you'd like
Ideally, I would like an option to submit one of the following:
A case function to handle multiple possible matches
An array of strings as an acceptable attribute name where each one will be checked
A third functionality where if you instead pass a variable instead of a string to attributeName this catch whatever key is set in stage.
Describe alternatives you've considered
I tried putting a list into the attribute name
I tried doing a chain of OR statements
Teachability, Documentation, Adoption, Migration Strategy
The user would in the Client call:
Stage.set('Today is ${var}', date)
On the server side:
Emprica.on("stage', NonstringVar, (ctx,{stage,NonstringVar}) =>
{ if( NonstringVar.substring(0,8) === 'Today is')
});
Code of Conduct
The text was updated successfully, but these errors were encountered: