Code referenceliblib/resultfunctionsFunction: map()On this pageFunction: map() map<T, U, E>(result, fn): Result<U, E> Defined in: src/lib/result.ts:21 Transform the success value, leaving errors untouched. Type Parameters T T U U E E Parameters result Result<T, E> fn (value) => U Returns Result<U, E>