Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 2.0

On this page

KN

Summary

nul context check: Returns true if the length of the context is less than or equal to n characters.

Syntax

KeymanWeb.KN(n, Pelem);

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

KeymanWeb.KC()