Skip to content

kindIs returns false when documentation says it should return true #1532

Open
@NeodymiumFerBore

Description

Opening this issue following the reply on helm/helm#12084 (helm/helm#12084 (comment))

Description

{{ if kindIs "int" 123 }} returns false when documentation says it should return true.

This appears to be a documentation issue. The kind of a yaml/json parsed number is float64 with the library that's used. Please file an issue in helm-www.

Behavior details can be found in mentioned issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions