Function: parseRef()
@termwright/driver/experimental
@termwright/driver/experimental / parseRef
Function: parseRef()
Section titled “Function: parseRef()”parseRef(
ref):ParsedRef|null
Defined in: selectors.ts:88
Parses a ref minted by ResolvedTarget.ref. Returns null for anything
that is not a ref — callers turn that into a typed error with context.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”ParsedRef | null