Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/cue/reference/remap/functions/assert.cue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ remap: functions: assert: {
internal_failure_reasons: [
"`condition` evaluates to `false`.",
]
return: types: ["null"]
return: types: ["boolean"]

examples: [
{
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/remap/functions/del.cue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ remap: functions: del: {
""",
]
return: {
types: ["any"]
types: ["any", "null"]
rules: [
"Returns the value of the field being deleted. Returns `null` if the field doesn't exist.",
]
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/remap/functions/parse_int.cue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ remap: functions: parse_int: {
"The base is not between 2 and 36.",
"The number cannot be parsed in the base.",
]
return: types: ["string"]
return: types: ["integer"]

examples: [
{
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/remap/functions/slice.cue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ remap: functions: slice: {
},
]
internal_failure_reasons: []
return: types: ["string"]
return: types: ["array", "string"]

examples: [
{
Expand Down
Loading