MCPcopy
hub / github.com/react/react / and

Method and

compiler/packages/babel-plugin-react-compiler/src/Utils/Result.ts:51–51  ·  view source on GitHub ↗
(res: Result<U, E>)

Source from the content-addressed store, hash-verified

49 * function call, it is recommended to use {@link andThen}, which is lazily evaluated.
50 */
51 and<U>(res: Result<U, E>): Result<U, E>;
52 /*
53 * Returns `res` if the result is `Err`, otherwise returns the `Ok` value of self.
54 *

Callers 1

Result-test.tsFile · 0.65

Implementers 2

OkImplcompiler/packages/babel-plugin-react-c
ErrImplcompiler/packages/babel-plugin-react-c

Calls

no outgoing calls

Tested by

no test coverage detected