pub fn is_block_directive(name: &str) -> boolExpand description
Check if a directive is a known block directive that requires { instead of ;
ยงExamples
use nginx_lint_parser::is_block_directive;
assert!(is_block_directive("server"));
assert!(is_block_directive("location"));
assert!(!is_block_directive("listen"));