mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
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
32 lines
520 B
Markdown
32 lines
520 B
Markdown
---
|
|
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
|
|
|
|
```c
|
|
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
|
|
|
|
...
|