From b6344c39e1e6d198926d60eea8670ff569e792a5 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Wed, 27 Jul 2016 22:07:14 +0100 Subject: [PATCH] Update COERCION.md --- COERCION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COERCION.md b/COERCION.md index 617d1e7..699139b 100644 --- a/COERCION.md +++ b/COERCION.md @@ -21,7 +21,7 @@ Possible type coercions: |null |`""`→`null`
`"null"`⇸
`"abc"`⇸|`0`→`null`
`x`⇸|`false`→`null`
`true`⇸|-|`[null]`→`null`| |array* |`x`→`[x]`|`x`→`[x]`|`false`→`[false]`
`true`→`[true]`|`null`→`[null]`|-| -* Requires option `{coerceTypes: 'array'}` +`* Requires option `{coerceTypes: 'array'}` ## Coersion from string values