Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/makotot/handlebars-helper-ifanyone
- Owner: makotot
- Created: 2014-11-11T02:52:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T02:36:14.000Z (about 9 years ago)
- Last Synced: 2024-10-11T02:21:26.752Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/handlebars-helper-ifanyone
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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