View source: R/40-priority_queue-queue-ops.R
| min_priority | R Documentation |
Returns the current minimum priority scalar in the queue.
min_priority(x)
x |
A |
Uses cached .pq_min monoid state.
Minimum priority value, or NULL when x is empty.
q <- priority_queue("a", "b", priorities = c(2, 1))
min_priority(q)
min_priority(priority_queue())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.