mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-16 13:49:23 +00:00
Deprecate the following obsolete functions and properties: * `keyman.helpURL` * `keyman.util.rgba` * `keyman.util.toFloat` * `keyman.util.toNumber` * `keyman.util.toNzString` Use correct language for code blocks in Keyman Engine for Web documentation. Test-bot: skip
38 lines
652 B
Markdown
38 lines
652 B
Markdown
---
|
|
title: toNzString (deprecated)
|
|
---
|
|
|
|
## Summary
|
|
|
|
Returns string value for the item, or the default string value if the argument
|
|
is null, false, an empty string, or undefined.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
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
|
|
|
|
This function has been deprecated and will be removed in a future version of KeymanWeb.
|
|
|
|
## History
|
|
|
|
19.0: deprecated
|