MCPcopy Index your code
hub / github.com/clojure/clojure / peek

Method peek

src/jvm/clojure/lang/APersistentVector.java:381–385  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

379}
380
381public Object peek(){
382 if(count() > 0)
383 return nth(count() - 1);
384 return null;
385}
386
387public boolean containsKey(Object key){
388 if(!(Util.isInteger(key)))

Callers

nothing calls this directly

Calls 2

nthMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected