MCPcopy Create free account
hub / github.com/PowerShell/DSC / is_multi_arg

Method is_multi_arg

resources/sshdconfig/src/repeat_keyword.rs:150–154  ·  view source on GitHub ↗

Check if this keyword can have multiple arguments.

(&self)

Source from the content-addressed store, hash-verified

148
149 /// Check if this keyword can have multiple arguments.
150 pub fn is_multi_arg(&self) -> bool {
151 self.is_repeatable ||
152 MULTI_ARG_KEYWORDS_COMMA_SEP.contains(&self.name.as_str()) ||
153 MULTI_ARG_KEYWORDS_SPACE_SEP.contains(&self.name.as_str())
154 }
155}
156
157/// Extract and validate a single keyword from `additional_properties`.

Callers 1

parse_arguments_nodeFunction · 0.80

Calls 1

as_strMethod · 0.80

Tested by

no test coverage detected