ee.Filter.not
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลตรงข้ามกับตัวกรองอินพุต กล่าวคือ ตัวกรองผลลัพธ์จะตรงกันก็ต่อเมื่อตัวกรองอินพุตไม่ตรงกัน
การใช้งาน | การคืนสินค้า |
---|
Filter.not() | ตัวกรอง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ filter | ตัวกรอง | อินสแตนซ์ตัวกรอง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis function inverts the effect of a given filter, returning a new filter that matches only when the original filter doesn't.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter.not()\u003c/code\u003e method can be used on a Filter instance, resulting in a new Filter with the opposite matching behavior.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts one argument: the original filter instance (\u003ccode\u003ethis\u003c/code\u003e) to be negated.\u003c/p\u003e\n"]]],["The `Filter.not()` method inverts a filter's behavior. It takes a `Filter` instance as input and returns a new `Filter`. This new `Filter` will match only when the original filter does not. In essence, it reverses the matching logic of the input filter. The `this: filter` argument specifies the `Filter` instance to be inverted.\n"],null,["# ee.Filter.not\n\n\u003cbr /\u003e\n\nReturns the opposite of the input filter, i.e. the resulting filter will match if and only if the input filter doesn't match.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------|---------|\n| Filter.not`()` | Filter |\n\n| Argument | Type | Details |\n|----------------|--------|----------------------|\n| this: `filter` | Filter | The Filter instance. |"]]