0.2.5 #43

Merged
Thilawyn merged 94 commits from next into master 2026-03-31 21:01:13 +02:00
Showing only changes of commit a2f3a07834 - Show all commits

View File

@@ -39,16 +39,15 @@ export class LensImpl<in out A, in out ER = never, in out EW = never, in out RR
/**
* Checks whether a value implements `Lens`.
*/
/**
* Determines whether a value implements the `Lens` interface.
* Checks whether a value is a `Lens`.
*/
export const isLens = (u: unknown): u is Lens<unknown, unknown, unknown, unknown, unknown> => Predicate.hasProperty(u, LensTypeId)
/**
* Builds a `Lens` instance when you supply how to read the current value, observe changes, and apply transformations.
* Creates a `Lens` by supplying how to read the current value, observe changes, and apply transformations.
*
* Either `modify` or `set` needs to be supplied.
*/
export const make = <A, ER, EW, RR, RW>(
options: {