CacheControl / CacheControl/json-rules-engine

Checking for empty array on fact

Open
#282 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.1k
Forks
507
PR merge metrics
No merged PRs in 30d

Description

Is it possible to check for an array being (not) empty as a fact value? Or, perhaps it would be more flexible to be able to do array length comparisons?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by tracing how fact values are evaluated and compared, then clarify whether empty-array checks, array-length comparisons, or both are required; done should include agreed behavior and coverage for the selected cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.