|
53 | 53 | "kind": 12, |
54 | 54 | "tags": [1], |
55 | 55 | "detail": "t<'a> => 'a", |
| 56 | +<<<<<<< HEAD |
56 | 57 | "documentation": {"kind": "markdown", "value": "Deprecated: Use `getOrThrow` instead\n\n\n`getExn(value)` throws an exception if `null`, otherwise returns the value.\n\n```rescript\nNull.getExn(Null.make(3)) == 3\n\nswitch Null.getExn(%raw(\"'ReScript'\")) {\n| exception Invalid_argument(_) => assert(false)\n| value => value == \"ReScript\"\n}\n\nswitch Null.getExn(%raw(\"null\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n```\n\n## Exceptions\n\n- Throws `Invalid_argument` if `value` is `null`\n"}, |
| 58 | +======= |
| 59 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n\n`getExn(value)` raises an exception if `null`, otherwise returns the value.\n\n```rescript\nNull.getExn(Null.make(3)) == 3\n\nswitch Null.getExn(%raw(\"'ReScript'\")) {\n| exception Invalid_argument(_) => assert(false)\n| value => value == \"ReScript\"\n}\n\nswitch Null.getExn(%raw(\"null\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n```\n\n## Exceptions\n\n- Raises `Invalid_argument` if `value` is `null`\n"}, |
| 60 | +>>>>>>> 0b13ce2a2 (analysis output) |
57 | 61 | "sortText": "getExn", |
58 | 62 | "insertText": "->Null.getExn", |
59 | 63 | "additionalTextEdits": [{ |
|
137 | 141 | "kind": 12, |
138 | 142 | "tags": [1], |
139 | 143 | "detail": "(t<'a>, 'b, 'a => 'b) => 'b", |
140 | | - "documentation": {"kind": "markdown", "value": "Deprecated: Use mapOr instead\n\n"}, |
| 144 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n"}, |
141 | 145 | "sortText": "mapWithDefault", |
142 | 146 | "insertText": "->Null.mapWithDefault", |
143 | 147 | "additionalTextEdits": [{ |
|
149 | 153 | "kind": 12, |
150 | 154 | "tags": [1], |
151 | 155 | "detail": "(t<'a>, 'a) => 'a", |
152 | | - "documentation": {"kind": "markdown", "value": "Deprecated: Use getOr instead\n\n"}, |
| 156 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n"}, |
153 | 157 | "sortText": "getWithDefault", |
154 | 158 | "insertText": "->Null.getWithDefault", |
155 | 159 | "additionalTextEdits": [{ |
@@ -249,7 +253,11 @@ Path |
249 | 253 | "kind": 12, |
250 | 254 | "tags": [1], |
251 | 255 | "detail": "t<'a> => 'a", |
| 256 | +<<<<<<< HEAD |
252 | 257 | "documentation": {"kind": "markdown", "value": "Deprecated: Use `getOrThrow` instead\n\n\n`getExn(value)` throws an exception if `null` or `undefined`, otherwise returns the value.\n\n```rescript\nswitch Nullable.getExn(%raw(\"'Hello'\")) {\n| exception Invalid_argument(_) => assert(false)\n| value => value == \"Hello\"\n}\n\nswitch Nullable.getExn(%raw(\"null\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n\nswitch Nullable.getExn(%raw(\"undefined\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n```\n\n## Exceptions\n\n- Throws `Invalid_argument` if `value` is `null` or `undefined`\n"}, |
| 258 | +======= |
| 259 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n\n`getExn(value)` raises an exception if `null` or `undefined`, otherwise returns the value.\n\n```rescript\nswitch Nullable.getExn(%raw(\"'Hello'\")) {\n| exception Invalid_argument(_) => assert(false)\n| value => value == \"Hello\"\n}\n\nswitch Nullable.getExn(%raw(\"null\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n\nswitch Nullable.getExn(%raw(\"undefined\")) {\n| exception Invalid_argument(_) => assert(true)\n| _ => assert(false)\n}\n```\n\n## Exceptions\n\n- Raises `Invalid_argument` if `value` is `null` or `undefined`\n"}, |
| 260 | +>>>>>>> 0b13ce2a2 (analysis output) |
253 | 261 | "sortText": "getExn", |
254 | 262 | "insertText": "->Nullable.getExn", |
255 | 263 | "additionalTextEdits": [{ |
|
333 | 341 | "kind": 12, |
334 | 342 | "tags": [1], |
335 | 343 | "detail": "(t<'a>, 'b, 'a => 'b) => 'b", |
336 | | - "documentation": {"kind": "markdown", "value": "Deprecated: Use mapOr instead\n\n"}, |
| 344 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n"}, |
337 | 345 | "sortText": "mapWithDefault", |
338 | 346 | "insertText": "->Nullable.mapWithDefault", |
339 | 347 | "additionalTextEdits": [{ |
|
345 | 353 | "kind": 12, |
346 | 354 | "tags": [1], |
347 | 355 | "detail": "(t<'a>, 'a) => 'a", |
348 | | - "documentation": {"kind": "markdown", "value": "Deprecated: Use getOr instead\n\n"}, |
| 356 | + "documentation": {"kind": "markdown", "value": "Deprecated: \n\n"}, |
349 | 357 | "sortText": "getWithDefault", |
350 | 358 | "insertText": "->Nullable.getWithDefault", |
351 | 359 | "additionalTextEdits": [{ |
|
0 commit comments