Home  Contents

v4kf:isEmpty

V4kf Core4 Lua Event System

SYNOPSIS

  1. flag = rdrhandle:isEmpty()
  2. flag = rdrhandle:hasCard()
  3. flag = rdrhandle:hasLockedCard()

DESCRIPTION

The function isEmpty() checks if there is no card inside the reader. The function hasCard() checks if a card is fully inserted. The last function, hasLockedCard() checks if a card is fully inserted and connected to the chip contact.

If there is a card in the reader that is only halfway in, then isEmpty() returns false, while hasCard() and hasLockedCard() also return false.

RETURN VALUE

All function return a boolean true/false value.

SEE ALSO