Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makotot/handlebars-helper-ifanyone

Similar to {{#ifAny}}, accepts multiple arguments but determine if any one of arguments return true.
https://github.com/makotot/handlebars-helper-ifanyone

Last synced: 27 days ago
JSON representation

Similar to {{#ifAny}}, accepts multiple arguments but determine if any one of arguments return true.

Awesome Lists containing this project

README

        

# handlebars-helper-ifanyone

[![npm version](http://img.shields.io/npm/v/handlebars-helper-ifanyone.svg?style=flat)](https://github.com/makotot/handlebars-helper-ifanyone)
[![License](http://img.shields.io/npm/l/handlebars-helper-ifanyone.svg?style=flat)](https://github.com/makotot/handlebars-helper-ifanyone)

> Similar to {{#ifAny}}, accepts multiple arguments but determine if any one of arguments return true.

## Install

```sh
$ npm i --save-dev handlebars-helper-ifanyone
```

## Usage

```hbs
{{# ifanyone one two three }}
{{/ ifanyone }}
```

## License

MIT