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

Method booleanCast

src/jvm/clojure/lang/RT.java:1132–1136  ·  view source on GitHub ↗
(Object x)

Source from the content-addressed store, hash-verified

1130}
1131
1132static public boolean booleanCast(Object x){
1133 if(x instanceof Boolean)
1134 return ((Boolean) x).booleanValue();
1135 return x != null;
1136}
1137
1138static public boolean booleanCast(boolean x){
1139 return x;

Callers 15

isMacroMethod · 0.95
isPublicMethod · 0.95
parseMethod · 0.95
emitUnboxArgMethod · 0.95
InstanceFieldExprMethod · 0.95
emitTypedArgsMethod · 0.95
InstanceMethodExprMethod · 0.95
StaticMethodExprMethod · 0.95
NewExprMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
compileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected