MCPcopy Create free account
hub / github.com/apache/arrow-rs / as_boolean_opt

Method as_boolean_opt

arrow-array/src/cast.rs:1001–1003  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

999impl private::Sealed for dyn Array + '_ {}
1000impl AsArray for dyn Array + '_ {
1001 fn as_boolean_opt(&self) -> Option<&BooleanArray> {
1002 self.as_any().downcast_ref()
1003 }
1004
1005 fn as_primitive_opt<T: ArrowPrimitiveType>(&self) -> Option<&PrimitiveArray<T>> {
1006 self.as_any().downcast_ref()

Callers 1

as_booleanMethod · 0.80

Calls 2

as_anyMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected