Update docs
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2026-03-24 12:28:48 +01:00
parent 8fb997a2a0
commit a2f3a07834

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: {