Is there any way to get a count from a divert target?
Open
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to write a function to decide whether to hide or show a choice based on two factors— how many times a given knot has been seen, and the TURNS_SINCE it has been seen. I want to do something like this:
```
=== function ValidChoice(-> startNode, minTurnsBetween, maxRepeats)
~ return TURNS_SINCE(startNode) > minTurnsBetween && COUNT(startNode) <= maxRepeats
```
Something like this COUNT function that can operate like TURNS_SINCE on a divert target doesn't exist, does it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.