package Ġarrow . core . extensions . map k . functor Filter Ċ Ċ import Ġarrow . Kind Ċ import Ġarrow . core . For Map K Ċ import Ġarrow . core . Map K Ċ import Ġarrow . core . Map K . Companion Ċ import Ġarrow . core . Option Ċ import Ġarrow . core . extensions . Map K Functor Filter Ċ import Ġjava . lang . Class Ċ import Ġkotlin . Any Ċ import Ġkotlin . Boolean Ċ import Ġkotlin . Deprecated Ċ import Ġkotlin . Function 1 Ċ import Ġkotlin . Published Api Ċ import Ġkotlin . Suppress Ċ import Ġkotlin . jvm . Jvm Name Ċ Ċ /** Ċ Ġ* Ġcached Ġextension Ċ Ġ*/ Ċ @ Published Api () Ċ internal Ġval Ġfunctor Filter _ singleton : ĠMap K Functor Filter < Any ?> Ġ= Ġobject Ġ: ĠMap K Functor Filter < Any ?> Ġ{} Ċ Ċ @ Jvm Name (" filter Map ") Ċ @ Suppress ( ĊĠ Ġ" UN CHECK ED _ CAST ", ĊĠ Ġ" USE LESS _ CAST ", ĊĠ Ġ" EXTENSION _ SH ADOW ED _ BY _ MEMBER ", ĊĠ Ġ" UNUSED _ PARAMETER " Ċ ) Ċ @ Deprecated ( ĊĠ Ġ"@ extension Ġkin ded Ġprojected Ġfunctions Ġare Ġdeprecated ", ĊĠ ĠReplace With ( ĊĠĠĠ Ġ" filter Map Ġ{ Ġa Ġ-> Ġarg 1 ( a ). or Null () Ġ} ", ĊĠĠĠ Ġ" arrow . core . filter Map " ĊĠ Ġ), ĊĠ ĠDeprec ation Level . WARNING Ċ ) Ċ fun Ġ< K , ĠA , ĠB > ĠKind < Kind < For Map K , ĠK >, ĠA >. filter Map ( arg 1 : ĠFunction 1 < A , ĠOption < B >> ): ĠMap K < K , ĠB > Ġ= ĊĠ Ġarrow . core . Map K . functor Filter < K >(). run Ġ{ ĊĠĠĠ Ġthis @ filter Map . filter Map < A , ĠB >( arg 1 ) Ġas Ġarrow . core . Map K < K , ĠB > ĊĠ Ġ} Ċ Ċ @ Jvm Name (" flatten Option ") Ċ @ Suppress ( ĊĠ Ġ" UN CHECK ED _ CAST ", ĊĠ Ġ" USE LESS _ CAST ", ĊĠ Ġ" EXTENSION _ SH ADOW ED _ BY _ MEMBER ", ĊĠ Ġ" UNUSED _ PARAMETER " Ċ ) Ċ @ Deprecated ( ĊĠ Ġ"@ extension Ġkin ded Ġprojected Ġfunctions Ġare Ġdeprecated ", ĊĠ ĠReplace With ( ĊĠĠĠ Ġ" filter Map Ġ{ Ġit . or Null () Ġ} ", ĊĠĠĠ Ġ" arrow . core . filter Map " ĊĠ Ġ), ĊĠ ĠDeprec ation Level . WARNING Ċ ) Ċ fun Ġ< K , ĠA > ĠKind < Kind < For Map K , ĠK >, ĠOption < A >> . flatten Option (): ĠMap K < K , ĠA > Ġ= ĊĠ Ġarrow . core . Map K . functor Filter < K >(). run Ġ{ ĊĠĠĠ Ġthis @ flatten Option . flatten Option < A >() Ġas Ġarrow . core . Map K < K , ĠA > ĊĠ Ġ} Ċ Ċ @ Jvm Name (" filter ") Ċ @ Suppress ( ĊĠ Ġ" UN CHECK ED _ CAST ", ĊĠ Ġ" USE LESS _ CAST ", ĊĠ Ġ" EXTENSION _ SH ADOW ED _ BY _ MEMBER ", ĊĠ Ġ" UNUSED _ PARAMETER " Ċ ) Ċ @ Deprecated ( ĊĠ Ġ"@ extension Ġkin ded Ġprojected Ġfunctions Ġare Ġdeprecated ", ĊĠ ĠReplace With ( ĊĠĠĠ Ġ" filter Ġ{ Ġ(_, Ġa ) Ġ-> Ġarg 1 ( a ) Ġ} ", ĊĠĠĠ Ġ" kotlin . collections . filter " ĊĠ Ġ), ĊĠ ĠDeprec ation Level . WARNING Ċ ) Ċ fun Ġ< K , ĠA > ĠKind < Kind < For Map K , ĠK >, ĠA >. filter ( arg 1 : ĠFunction 1 < A , ĠBoolean >): ĠMap K < K , ĠA > Ġ= ĊĠ Ġarrow . core . Map K . functor Filter < K >(). run Ġ{ ĊĠĠĠ Ġthis @ filter . filter < A >( arg 1 ) Ġas Ġarrow . core . Map K < K , ĠA > ĊĠ Ġ} Ċ Ċ @ Jvm Name (" filter Is Instance ") Ċ @ Suppress ( ĊĠ Ġ" UN CHECK ED _ CAST ", ĊĠ Ġ" USE LESS _ CAST ", ĊĠ Ġ" EXTENSION _ SH ADOW ED _ BY _ MEMBER ", ĊĠ Ġ" UNUSED _ PARAMETER " Ċ ) Ċ @ Deprecated ( ĊĠ Ġ"@ extension Ġkin ded Ġprojected Ġfunctions Ġare Ġdeprecated ", ĊĠ ĠReplace With ( ĊĠĠĠ Ġ" filter Map Ġ{ Ġif Ġ( arg 1 . is Instance ( it )) Ġarg 1 . cast ( it ) Ġelse Ġnull Ġ} ", ĊĠĠĠ Ġ" arrow . core . filter Map " ĊĠ Ġ), ĊĠ ĠDeprec ation Level . WARNING Ċ ) Ċ fun Ġ< K , ĠA , ĠB > ĠKind < Kind < For Map K , ĠK >, ĠA >. filter Is Instance ( arg 1 : ĠClass < B >): ĠMap K < K , ĠB > Ġ= ĊĠ Ġarrow . core . Map K . functor Filter < K >(). run Ġ{ ĊĠĠĠ Ġthis @ filter Is Instance . filter Is Instance < A , ĠB >( arg 1 ) Ġas Ġarrow . core . Map K < K , ĠB > ĊĠ Ġ} Ċ Ċ @ Suppress ( ĊĠ Ġ" UN CHECK ED _ CAST ", ĊĠ Ġ" NOTH ING _ TO _ INLINE " Ċ ) Ċ @ Deprecated (" Functor Filter Ġtype classes Ġis Ġdeprecated . ĠUse Ġconcrete Ġmethods Ġon ĠMap ") Ċ inline Ġfun Ġ< K > ĠComp anion . functor Filter (): ĠMap K Functor Filter < K > Ġ= Ġfunctor Filter _ singleton Ġas ĊĠ Ġarrow . core . extensions . Map K Functor Filter < K > Ċ