Skip to main content

is_multinetwork

Function is_multinetwork 

Source
pub fn is_multinetwork(source: &Source) -> bool
Expand description

Whether the source’s primary document is a PMD multinetwork ENGINEERING model ("multinetwork": true). The check reads the one flag without building the document tree. A source that cannot be read, or is not a JSON object, is not one.