hegemonic / jsdoc-baseline

An experimental, extensible template for JSDoc.
Other
61 stars 32 forks source link

Add helper that checks whether a value matches one of multiple values #153

Closed hegemonic closed 9 years ago

hegemonic commented 9 years ago

Like {{#is}}, but with multiple possible values. Should probably look like this:

{{#isAny foo 'bar' 'baz'}}foo is either 'bar' or 'baz'{{/isAny}}

hegemonic commented 9 years ago

Probably not needed, and we can always revisit this if necessary.