Skip to content

PatternJsonProvider: provide a #tryLong and #tryDouble operation similar to #tryJson #694

Open
@brenuart

Description

@brenuart

It may be handy to provide #tryLong and #tryDouble operations similar to #tryJson.
These two new operations would return the input (string) value when the conversion fails instead of null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions