

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What does operator ~= mean in Lua?
The ~= symbol or operator in Lua is known as the not-equal to operator. In many programming languages you might have seen the symbol != which is also known as the not equals operator.
Let’s consider a few examples where we can make use of the not equals operator.
Example
Consider the examples shown below −
a = 2 b = 3 print(a ~= b)
Output
true
Example
t1 = {4,2,3} t2 = {2,3,4} print(t1 ~= t2)
Output
true
- Related Questions & Answers
- What does # mean in Lua programming?
- What does the Star operator mean in Python?
- What does the Double Star operator mean in Python?
- What does double question mark (??) operator mean in PHP ?
- What does these operators mean (** , ^ , %, //) ?
- What does createdCollectionAutomatically mean in MongoDB?
- What does series mean in pandas?
- What does INT(7) in MySQL mean?
- Strange syntax, what does `?.` mean in JavaScript?
- What does “javascript:void(0)” mean?
- What does the restrict keyword mean in C++?
- What does the volatile keyword mean in C++?
- What does the explicit keyword mean in C++?
- What does the KEY keyword mean in MySQL?
- What does parenthesis mean in MySQL SELECT (COLNAME)?
Advertisements