Skip to content

Commit

Permalink
fix: kindIs function documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <[email protected]>
  • Loading branch information
TerryHowe committed Nov 20, 2024
1 parent 0d578e7 commit 4ef65da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/en/docs/chart_template_guide/function_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,13 @@ The above would return `string`. For simple tests (like in `if` blocks), the
kindIs "int" 123
```
The above will return `true`.
The above will return `true`, but keep in mind if your operand is from the `values.yaml` file
it will be treated as a `float64` because the `values.yaml` file is parsed with the Kubernetes
yaml parser. For example th following will return true even if `looksLikeInt: 123`:
```
kindIs "float64" .Values.looksLikeInt
```
### Type Functions
Expand Down

0 comments on commit 4ef65da

Please sign in to comment.