mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-15 21:29: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
815 B
815 B
| title |
|---|
| nul (KN) |
Summary
nul context check: Returns true if the length of the context is less than or equal to n characters.
Syntax
keyman.interface.nul(n, Pelem);
or
KeymanWeb.KN(n, Pelem); // Shorthand
Parameters
n- Type:
number - The length of
contextto check. Pelem- Type:
Element - The element whose
contextis being examined.
Return Value
booleantrueif the context is not longer thanncharacters, otherwisefalse.
Description
This is of particular use in handling the Developer rule nul and is subject to the caveats listed therein.