Skip to content

is_string conditional and number strings #393

@TobiasNx

Description

@TobiasNx
{ "number" : 123 }
{ "number" : "123"}

if is_string("number")
	add_field("test","true")
end

The is_string conditional is not recognizing the second variation of numbers as string.
Is this by intention, if so this should be documented.
How is it possible to check if a number string is a string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions