CacheControl / CacheControl/json-rules-engine
Operator availability - between operator
- Langage dominant
- JavaScript
- Étoiles
- 3.1k
- Forks
- 507
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
As between operator accepts 3 inputs ex : c is between a and b.
But our operator just takes 2 inputs a and b. out of which one is fact and one is the actual value to compare against
Is there any way I could solve this?
Should I pass between range in the form of array for ex, if my requirement is
is 7 between 20 and 30. Then a can be 7 and b can be array of 2 numbers which is [20, 30] and I can create a custom operator which is between and that accepts 2 numbers in the number. I this fine or is there any other way in which the between operator can be done.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Aucun fichier, test ou point d’entrée n’est nommé. Commencez par examiner l’interface d’opérateurs existante et le chemin des opérateurs personnalisés ; définissez comment une comparaison between devrait représenter son fait et ses deux bornes, puis confirmez que l’API choisie prend en charge le cas indiqué 7-between-20-and-30.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100