def check.zero

bolt@1.27.0.0 · src/rules/style/wrap.bend:247

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base

247# no depth is open
248def check.zero(+paren: U32, +angle: U32, +brace: U32, +bracket: U32) -> Bool:
249  Bool.and(U32.is_eq(paren, 0),
250    Bool.and(U32.is_eq(angle, 0),
251      Bool.and(U32.is_eq(brace, 0), U32.is_eq(bracket, 0))))

Uses (4)

Used by (1)