Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0Version 16.0 (current version)Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0 (home page)Version 1.0 (home page)

On this page

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 than n characters, otherwise false.

Description

This is of particular use in handling the Developer rule nul and is subject to the caveats listed therein.

See also

keyman.interface.context()