Skip to content

TR Method array_filter

marufcetin edited this page Sep 1, 2026 · 1 revision

Metot: array_filter()

Turkce Dokumantasyon | English Documentation

Kategori: Yardimci Metotlar
Modul: AmberDB::Array
Madde Turu: Fonksiyon ile Dizi Filtreleme


1. Tanim ve Genel Bakis

array_filter(), verilen bir kosul fonksiyonunu (anonim subroutine / predicate) kullanarak dizi elemanlarini filtreler.


2. Sozdizimi ve Imza

my @filtrelenmis = $adb->array_filter(\&kosul_fonksiyonu, @elemanlar);

3. Pratik Kod Ornegi

my @cift_sayilar = $adb->array_filter(sub { $_[0] % 2 == 0 }, 1, 2, 3, 4, 5, 6);
# Dönen liste: (2, 4, 6)

4. Iliskili Maddeler ve Bakiniz

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally