Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default option to coerce BOOL "toString". #12

Open
mralexgray opened this issue Feb 19, 2014 · 0 comments
Open

Default option to coerce BOOL "toString". #12

mralexgray opened this issue Feb 19, 2014 · 0 comments

Comments

@mralexgray
Copy link

I usually just do something like...

JATExpand(@"I want to say \"{0|if:YES;NO}\".", _boolDesire);

which expands to...

I want to say "YES".

I tried to figure out how to add an option such as...

JATExpand(@"I want to say \"{0|toString}\".", _boolDesire);

but it's all so complicated, my head spun.

Any advice on how to fold in this kind of functionality?
Thanks, Alex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant