"boolean" "not" Operation

This section describes 'boolean' 'not' operation

The "boolean" "not" operation is provided through the boolean.not() function, which has the following syntax:

boolean.not(a)

Parameter:
   a - A "boolean" data object

Return: 
   Returns a new "boolean" data object representing $true, 
   if "a" and "b" represent $false. Otherwise, returns 
   a new "boolean" data object representing $true.

The "boolean" "not" operation can be expressed with the "!" operator format:

! a; # alias of the following function call
boolean.not(a);

Last update: 2017.

Table of Contents

 About This Book

 Introduction of H Language

 Syntax

 Data Types

 Variables

 Expressions

 Statements

"boolean" Data Type

 What Is "boolean" Data Type

 "boolean" Literals

 Constructor Function: boolean()

 "boolean" "and" Operation

 "boolean" "or" Operation

 "boolean" "xor" Operation

"boolean" "not" Operation

 "integer" Data Type

 "string" Data Type

 "real" Data Type

 "array" Data Type

 Source Code Packages

 Classes and Objects

 Object Oriented Programming

 Inheritance - Object Attachments

 Encapsulation - Private Members

 References

 PDF Printing Version