We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94679b1 commit 4162b61Copy full SHA for 4162b61
lib/scenic/graph.ex
@@ -576,15 +576,13 @@ defmodule Scenic.Graph do
576
577
Pass in a function that accepts a primitive and returns a boolean.
578
579
- Returns a list of tuples containing the matching id at the primitive.
580
-
581
- `[{id, primitive}]`
+ Returns a list of primitives.
582
583
__Warning:__ This function crawls the entire graph and is thus slower than
584
accessing items via a fully-specified id.
585
"""
586
587
- @spec find(graph :: t(), (any -> as_boolean(term()))) :: list({any, Primitive.t()})
+ @spec find(graph :: t(), (any -> as_boolean(term()))) :: list(Primitive.t())
588
def find(graph, finder)
589
590
# pass in an atom based id, and it will transform all mapped uids
0 commit comments