Function wasm_bindgen::describe
source · pub fn describe(artefact: String, id: String) -> JsValueExpand description
Prints the description of artifacts or a single artifact if an ID is provided.
Arguments
artefact- An optional reference to a string representing the artifact.id- An optional reference to a string representing the ID.
Errors
If an error occurs while parsing the JSON or executing the describe, an error message will be printed.