🇹🇷 Karşılaştırma Operatörleri
📌 -eq (Eşit)
-eq, iki değerin eşit olup olmadığını kontrol eder. Eğer eşitse True döner, değilse False döner.
Örnek:
📌 -ne (Eşit Değil)
-ne, iki değerin eşit olmadığını kontrol eder. Eşit değilse True döner, eşitse False döner.
Örnek:
📌 -lt (Küçük)
-lt, sol operandın sağ operanddan küçük olup olmadığını kontrol eder. Eğer küçükse True döner, değilse False döner.
Örnek:
📌 -gt (Büyük)
-gt, sol operandın sağ operanddan büyük olup olmadığını kontrol eder. Eğer büyükse True döner, değilse False döner.
Örnek:
📌 -le (Küçük veya Eşit)
-le, sol operandın sağ operanddan küçük veya ona eşit olup olmadığını kontrol eder. Eğer küçük veya eşitse True döner, değilse False döner.
Örnek:
📌 -ge (Büyük veya Eşit)
-ge, sol operandın sağ operanddan büyük veya ona eşit olup olmadığını kontrol eder. Eğer büyük veya eşitse True döner, değilse False döner.
Örnek:
📌 -like (Desene Benzer)
-like, sol operandın, sağ operandla belirtilen desene (wildcard kullanarak) uyup uymadığını kontrol eder. Yıldız (*) ve soru işareti (?) gibi joker karakterler kullanılabilir.
Örnek:
📌 -notlike (Desene Uymayan)
-notlike, sol operandın sağ operandla belirtilen desene uymadığını kontrol eder.
Örnek:
📌 -match (RegEx ile Eşleşme)
-match, sağ operandın bir regular expression (RegEx) deseni ile uyup uymadığını kontrol eder.
Örnek:
📌 -notmatch (RegEx ile Eşleşmeyen)
-notmatch, sağ operandın belirtilen RegEx deseni ile eşleşmediğini kontrol eder.
Örnek:
🇬🇧 Comparison Operators
📌 -eq (Equal)
-eq checks if two values are equal. It returns True if they are equal, otherwise False.
Example:
📌 -ne (Not Equal)
-ne checks if two values are not equal. It returns True if they are not equal, otherwise False.
Example:
📌 -lt (Less Than)
-lt checks if the left operand is less than the right operand. It returns True if the left operand is less, otherwise False.
Example:
📌 -gt (Greater Than)
-gt checks if the left operand is greater than the right operand. It returns True if the left operand is greater, otherwise False.
Example:
📌 -le (Less Than or Equal)
-le checks if the left operand is less than or equal to the right operand. It returns True if the left operand is less than or equal, otherwise False.
Example:
📌 -ge (Greater Than or Equal)
-ge checks if the left operand is greater than or equal to the right operand. It returns True if the left operand is greater or equal, otherwise False.
Example:
📌 -like (Wildcard Match)
-like checks if the left operand matches the pattern (using wildcards like * and ?).
Example:
📌 -notlike (Not Wildcard Match)
-notlike checks if the left operand does not match the pattern.
Example:
📌 -match (Regex Match)
-match checks if the left operand matches the provided regular expression (regex).
Example:
📌 -notmatch (Regex Not Match)
-notmatch checks if the left operand does not match the regular expression.