Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / parseOrAssert
Function: parseOrAssert()
ts
function parseOrAssert(input): ParsedSecretRef;Defined in: packages/security/src/secrets/secret-ref.ts:673
Convenience: parse if the input looks like a URI, otherwise throw a naked-string parse error. Used by resolveSecret(...).
Parameters
| Parameter | Type |
|---|---|
input | string |