Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan authored Apr 8, 2024
1 parent 6a2b26c commit 15ec486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Result:

- `typeOf`: returns type representation of the data (e.g. `str`, `int`, `float`, etc.)
- `strToLocation`: given a string with a comma separated list of decimal numbers, returns an array of such numbers. Example: `"value1, value2"|strToLocation`. Example: `"value1, value2"|strToLocation` returns `[value1, value2]`. It's name (maybe not very good :) is due to it can be useful to generate a [GeoJSON](https://geojson.org/) representing a point which coordinates are provided in a string, eg: `{coordinates:(point|strToLocation),type: "Point"}`
- `nullSafe`: return the input value, if not `None`, or a failsafe value. Example: `a|safeNull(23)` return the value of `a` if `a` is not None or `23` if `a` is None.
- `nullSafe`: return the input value, if not `None`, or a failsafe value. Example: `a|nullSafe(23)` return the value of `a` if `a` is not `None` or `23` if `a` is `None`.

## Packaging

Expand Down

0 comments on commit 15ec486

Please sign in to comment.