Skip to content

Commit 4073cc5

Browse files
committed
feat: added missing negate function
1 parent 9d7f564 commit 4073cc5

File tree

1 file changed

+60
-1
lines changed
  • definitions/standard/runtime_definition/primitive

1 file changed

+60
-1
lines changed

definitions/standard/runtime_definition/primitive/boolean.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,72 @@ Will convert the string to a boolean.
266266

267267
"true" --> true
268268

269+
## negate
270+
Will negate the boolean value.
271+
272+
```json
273+
{
274+
"runtime_name": "std::boolean::negate",
275+
"runtime_parameter_definitions": [
276+
{
277+
"data_type_identifier": {
278+
"data_type_identifier": "BOOLEAN"
279+
},
280+
"runtime_name": "value",
281+
"name": [
282+
{
283+
"code": "en-US",
284+
"content": "Value"
285+
}
286+
],
287+
"description": [
288+
{
289+
"code": "en-US",
290+
"content": "The boolean value to negate."
291+
}
292+
],
293+
"documentation": [
294+
{
295+
"code": "en-US",
296+
"content": "Negates a boolean value."
297+
}
298+
]
299+
}
300+
],
301+
"return_type_identifier": {
302+
"data_type_identifier": "BOOLEAN"
303+
},
304+
"name": [
305+
{
306+
"code": "en-US",
307+
"content": "Negate"
308+
}
309+
],
310+
"description": [
311+
{
312+
"code": "en-US",
313+
"content": "Negates a boolean value."
314+
}
315+
],
316+
"documentation": [
317+
{
318+
"code": "en-US",
319+
"content": "Negates a boolean value."
320+
}
321+
],
322+
"deprecation_message": [],
323+
"error_type_identifiers": [],
324+
"generic_keys": [],
325+
"generic_mappers": []
326+
}
327+
```
269328

270329
## isEqual
271330
Will compare one boolean to another.
272331

273332
```json
274333
{
275-
"runtime_name": "std::boolean::isEqual",
334+
"runtime_name": "std::boolean::is_equal",
276335
"runtime_parameter_definitions": [
277336
{
278337
"data_type_identifier": {

0 commit comments

Comments
 (0)