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
context
to check. Pelem
- Type:
Element
- The element whose
context
is being examined.
Return Value
boolean
true
if the context is not longer thann
characters, otherwisefalse
.
Description
This is of particular use in handling the Developer rule
nul
and is subject to the caveats listed therein.