Skip to content

Make safeToString return null on non-stringifiable values #84

Open
@medikoo

Description

@medikoo

Currently it returns <Non-coercible to string value> string, but the resolution type and format should rather be left to consumer of the util.

It affects sprintf-kit which wants to customize that string

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions