MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / asSucceededOperation

Function asSucceededOperation

src/scripts/stringUtils.ts:82–87  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

80 }
81
82 function asSucceededOperation<T>(obj: T): { status: OperationResult, result: T } {
83 return {
84 status: OperationResult.Succeeded,
85 result: obj
86 };
87 }
88
89 function asFailedOperation<T>(obj: T): { status: OperationResult, result: T } {
90 return {

Callers 1

parsePageRangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected