Update COERCION.md
parent
b6344c39e1
commit
5b469a718b
|
@ -21,7 +21,7 @@ Possible type coercions:
|
|||
|null |`""`→`null`<br>`"null"`⇸<br>`"abc"`⇸|`0`→`null`<br>`x`⇸|`false`→`null`<br>`true`⇸|-|`[null]`→`null`|
|
||||
|array* |`x`→`[x]`|`x`→`[x]`|`false`→`[false]`<br>`true`→`[true]`|`null`→`[null]`|-|
|
||||
|
||||
`* Requires option `{coerceTypes: 'array'}`
|
||||
\* Requires option `{coerceTypes: 'array'}`
|
||||
|
||||
|
||||
## Coersion from string values
|
||||
|
|
Loading…
Reference in New Issue