spiegel-keyman/web/docs/engine/reference/util/toNzString.md
Marc Durdin 6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07:00

520 B

title
toNzString

Summary

Returns string value for the item, or the default string value if the argument is null, false, an empty string, or undefined.

Syntax

keyman.util.toNzString(item, dflt);

Parameters

item
Type: *
Variable to convert.
dflt
Type: * optional
Value to use of the converted variable is null, false, the empty string, or undefined.

Return Value

string
The string equivalent value for the item being converted.

Description

...