GitHub Package
the javascript
26 - Empty Abbreviations

Abbreviations can be used to make empty assertions shorter.
  • Empty Shortcuts
    • 'OK'
      'EMPTY-OK'
    • 'ER'
      'EMPTY-ERROR'
    • 'IG'
      'EMPTY-IGNORE'

    The PRE_check_Person() function ensures that f_name and b_date object fields must not be empty; a string and date. The key l_name can be blank without problem as its empty designation is 'OK'.

    After which the POST_check_Person() function certifies that the Person result array has a non-blank string as the first element, followed by a non-checked value. A valueless birth date is allowed.

    The errors:
    Console Output