Doc.check.after: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/style/doc.bend as Doc Lines 45-49 of bolt@1.27.0.0/src/rules/style/doc.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/style/doc.bend&start_line=45&end_line=49 import Base # reading down, does a comment block end right above the next line? After a # comment line (its first char `#`) it does; an attribute line (`@unsafe`) # keeps what was above it; any other line ends it def check.after(+hh: String, ok: Bool) -> Bool: Bool.or(String.starts_with(hh, "#"), Bool.and(String.starts_with(hh, "@"), ok)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with