MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / isBool

Function isBool

src/backend/common/traits.hpp:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66constexpr bool isBool(af::dtype type) { return (type == b8); }
67
68constexpr bool isFloating(af::dtype type) {
69 return (!isInteger(type) && !isBool(type));

Callers 2

isFloatingFunction · 0.85
isBoolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected