MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / has

Method has

src/main/java/fieldbox/boxes/Box.java:188–192  ·  view source on GitHub ↗
(Dict.Prop<T> find, Function<Box, Collection<Box>> direction)

Source from the content-addressed store, hash-verified

186 protected Deque<Box> _all() {
187 return all;
188 }
189
190 @HiddenInAutocomplete
191 public <T> Stream<T> has(Dict.Prop<T> find, Function<Box, Collection<Box>> direction) {
192 return breadthFirst(direction).map(x -> x.properties.get(find))
193 .filter(x -> x != null);
194 }
195

Callers 15

mapDeleteFunction · 0.45
cacheIndexOfFunction · 0.45
memoizedFunction · 0.45
jshint.jsFile · 0.45
scopeManagerFunction · 0.45
checkOptionFunction · 0.45
combineFunction · 0.45
lintingDirectiveFunction · 0.45
blockFunction · 0.45
itselfFunction · 0.45
polyfill.jsFile · 0.45
aiFunction · 0.45

Calls 3

breadthFirstMethod · 0.95
getMethod · 0.65
mapMethod · 0.45

Tested by

no test coverage detected