slight language change
This commit is contained in:
parent
d7067f3562
commit
7cb8a151a4
1 changed files with 5 additions and 3 deletions
|
|
@ -1059,7 +1059,8 @@ const COMPOSERS = {
|
||||||
/**
|
/**
|
||||||
* When called on a pattern `a`, with a input pattern `b` (`a.set(b)`),
|
* When called on a pattern `a`, with a input pattern `b` (`a.set(b)`),
|
||||||
* combines `a` and `b` such that anything defined in `b`
|
* combines `a` and `b` such that anything defined in `b`
|
||||||
* overwrites the corresponding value in `a`
|
* and anything defined in `a` that is *not* defined in `b`
|
||||||
|
* will be in the resulting pattern
|
||||||
*
|
*
|
||||||
* This is the inverse of `keep`
|
* This is the inverse of `keep`
|
||||||
*
|
*
|
||||||
|
|
@ -1091,8 +1092,9 @@ const COMPOSERS = {
|
||||||
set: [(a, b) => b],
|
set: [(a, b) => b],
|
||||||
/**
|
/**
|
||||||
* When called on a pattern `a`, with a input pattern `b` (`a.keep(b)`),
|
* When called on a pattern `a`, with a input pattern `b` (`a.keep(b)`),
|
||||||
* combines `a` and `b` such that anything defined in `a`
|
* combines `a` and `b` such that anything defined in `a`,
|
||||||
* overwrites the corresponding value in `b`
|
* and anything defined in `b` that is *not* defined in `a`
|
||||||
|
* will be in the resulting pattern
|
||||||
*
|
*
|
||||||
* This is the inverse of `set`
|
* This is the inverse of `set`
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue