Documentation / @sw-file-lib/xml / safeParseMicrocontrollerXml
Function: safeParseMicrocontrollerXml()
ts
function safeParseMicrocontrollerXml(input: string | Uint8Array<ArrayBuffer>, options?: SchemaParseOptions): Result<Microprocessor, SchemaError>;Defined in: packages/xml/src/schemas/index.ts:154
Parses a standalone Stormworks microcontroller XML document without throwing schema errors.
Parameters
| Parameter | Type |
|---|---|
input | string | Uint8Array<ArrayBuffer> |
options? | SchemaParseOptions |