2021-11-19 03:53:50 +00:00
< html >
< head >
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > [android]Optional< / title >
2021-12-29 20:59:26 +00:00
< link href = "../../../images/logo-icon.svg" rel = "icon" type = "image/svg" > < script > var pathToRoot = "../../../" ; < / script > < script > c o n s t s t o r a g e = l o c a l S t o r a g e . g e t I t e m ( " d o k k a - d a r k - m o d e " )
const savedDarkMode = storage ? JSON.parse(storage) : false
if(savedDarkMode === true){
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}< / script >
2022-01-18 13:02:16 +00:00
< script type = "text/javascript" src = "../../../scripts/sourceset_dependencies.js" async = "async" > < / script > < link href = "../../../styles/style.css" rel = "Stylesheet" > < link href = "../../../styles/jetbrains-mono.css" rel = "Stylesheet" > < link href = "../../../styles/main.css" rel = "Stylesheet" > < link href = "../../../styles/prism.css" rel = "Stylesheet" > < link href = "../../../styles/logo-styles.css" rel = "Stylesheet" > < script type = "text/javascript" src = "../../../scripts/clipboard.js" async = "async" > < / script > < script type = "text/javascript" src = "../../../scripts/navigation-loader.js" async = "async" > < / script > < script type = "text/javascript" src = "../../../scripts/platform-content-handler.js" async = "async" > < / script > < script type = "text/javascript" src = "../../../scripts/main.js" defer = "defer" > < / script > < script type = "text/javascript" src = "../../../scripts/prism.js" async = "async" > < / script > < / head >
2021-11-19 03:53:50 +00:00
< body >
2021-12-29 20:59:26 +00:00
< div class = "navigation-wrapper" id = "navigation-wrapper" >
< div id = "leftToggler" > < span class = "icon-toggler" > < / span > < / div >
< div class = "library-name" > < a href = "../../../index.html" > micro_utils.dokka< / a > < / div >
2022-02-19 10:10:05 +00:00
< div > 0.9.7< / div >
2021-12-29 20:59:26 +00:00
< div class = "pull-right d-flex" >
< div class = "filter-section" id = "filter-section" > < button class = "platform-tag platform-selector jvm-like" data-active = "" data-filter = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-tag platform-selector common-like" data-active = "" data-filter = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-tag platform-selector jvm-like" data-active = "" data-filter = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< button id = "theme-toggle-button" > < span id = "theme-toggle" > < / span > < / button >
< div id = "searchBar" > < / div >
< / div >
< / div >
2021-11-19 03:53:50 +00:00
< div id = "container" >
2021-12-29 20:59:26 +00:00
< div id = "leftColumn" >
2021-11-19 03:53:50 +00:00
< div id = "sideMenu" > < / div >
< / div >
2022-01-18 13:02:16 +00:00
< div id = "main" >
2021-12-29 20:59:26 +00:00
< div class = "main-content" id = "content" pageIds = "micro_utils.dokka::dev.inmo.micro_utils.common/Optional///PointingToDeclaration//-1837788132" >
< div class = "breadcrumbs" > < a href = "../../../index.html" > micro_utils.dokka< / a > /< a href = "../index.html" > dev.inmo.micro_utils.common< / a > /< a href = "index.html" > [android]Optional< / a > < / div >
2021-11-19 03:53:50 +00:00
< div class = "cover " >
< h1 class = "cover" > < span > < span > Optional< / span > < / span > < / h1 >
2021-12-29 20:59:26 +00:00
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > data < / span > < span class = "token keyword" > class < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < p class = "paragraph" > This type represents < a href = "index.html" > T< / a > as not only potentially nullable data, but also as a data which can not be presented. This type will be useful in cases when < a href = "index.html" > T< / a > is nullable and null as valuable data too in time of data absence should be presented by some third type.< / p > < p class = "paragraph" > Let's imagine, you have nullable name in some database. In case when name is not nullable everything is clear - null will represent absence of row in the database. In case when name is nullable null will be a little bit dual-meaning, cause this null will say nothing about availability of the row (of course, it is exaggerated example)< / p > < / div > < / div >
2021-11-19 03:53:50 +00:00
< / div >
< div class = "tabbedcontent" >
2021-12-26 16:15:04 +00:00
< div class = "tabs-section" tabs-section = "tabs-section" > < button class = "section-tab" data-active = "" data-togglable = "Types" > Types< / button > < button class = "section-tab" data-togglable = "Properties" > Properties< / button > < button class = "section-tab" data-togglable = "Extensions" > Extensions< / button > < button class = "section-tab" data-togglable = "See also" > See also< / button > < / div >
2021-11-19 03:53:50 +00:00
< div class = "tabs-section-body" >
< h2 class = "" > See also< / h2 >
< div data-togglable = "See also" >
2021-12-29 20:59:26 +00:00
< div class = "platform-hinted WithExtraAttributes with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "See also" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
2022-01-18 13:02:16 +00:00
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div data-togglable = "See also" > < div class = "table" data-togglable = "See also" > < div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "main-subrow keyValue WithExtraAttributes" > < div class = "" > < span class = "inline-flex" > < div > < a href = "-companion/absent.html" > < span > dev.< / span > < wbr > < / wbr > < span > inmo.< / span > < wbr > < / wbr > < span > micro_utils.< / span > < wbr > < / wbr > < span > common.< / span > < wbr > < / wbr > < span > Optional.< / span > < wbr > < / wbr > < span > Companion< / span > < / a > < / div > < / span > < / div > < div > < div class = "title" > < div data-togglable = "See also" > < / div > < / div > < / div > < / div > < / div > < div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "main-subrow keyValue WithExtraAttributes" > < div class = "" > < span class = "inline-flex" > < div > < span data-unresolved-link = "dev.inmo.micro_utils.common//optional/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/" > < span > Optional.< / span > < wbr > < / wbr > < span > optional< / span > < / span > < / div > < / span > < / div > < div > < div class = "title" > < div data-togglable = "See also" > < / div > < / div > < / div > < / div > < / div > < div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "main-subrow keyValue WithExtraAttributes" > < div class = "" > < span class = "inline-flex" > < div > < a href = "../[android]on-presented.html" > < span > Optional.< / span > < wbr > < / wbr > < span > on< / span > < wbr > < / wbr > < span > < span > Presented< / span > < / span > < / a > < / div > < / span > < / div > < div > < div class = "title" > < div data-togglable = "See also" > < / div > < / div > < / div > < / div > < / div > < div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "main-subrow keyValue WithExtraAttributes" > < div class = "" > < span class = "inline-flex" > < div > < a href = "../[android]on-absent.html" > < span > Optional.< / span > < wbr > < / wbr > < span > onAbsent< / span > < / a > < / div > < / span > < / div > < div > < div class = "title" > < div data-togglable = "See also" > < / div > < / div > < / div > < / div > < / div > < / div > < / div > < / div > < / div >
2021-11-19 03:53:50 +00:00
< / div >
< h2 class = "" > Types< / h2 >
< div class = "table" data-togglable = "Types" > < a data-name = "-503622347%2FClasslikes%2F-1837788132" anchor-label = "Companion" id = "-503622347%2FClasslikes%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "-companion/index.html" > < span > < span > Companion< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-503622347%2FClasslikes%2F-1837788132" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > object < / span > < a href = "-companion/index.html" > Companion< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
2021-12-26 16:15:04 +00:00
< h2 class = "" > Properties< / h2 >
< div class = "table" data-togglable = "Properties" > < a data-name = "-1373844350%2FProperties%2F-1837788132" anchor-label = "data" id = "-1373844350%2FProperties%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "data.html" > data< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1373844350%2FProperties%2F-1837788132" > < / span >
2021-12-26 16:15:04 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
2021-12-29 20:59:26 +00:00
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < a data-name = "-1373844350%2FProperties%2F-1837788132" anchor-label = "data" id = "-1373844350%2FProperties%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "data.html" > data< / a > < span class = "token operator" > : < / span > < a href = "index.html" > T< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-12-26 16:15:04 +00:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "1174995806%2FProperties%2F-1837788132" anchor-label = "dataPresented" id = "1174995806%2FProperties%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "data-presented.html" > dataPresented< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1174995806%2FProperties%2F-1837788132" > < / span >
2021-12-26 16:15:04 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
2021-12-29 20:59:26 +00:00
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < a data-name = "1174995806%2FProperties%2F-1837788132" anchor-label = "dataPresented" id = "1174995806%2FProperties%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "data-presented.html" > dataPresented< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-12-26 16:15:04 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
2021-11-19 03:53:50 +00:00
< h2 class = "tabbedcontent" > Extensions< / h2 >
< div class = "table" data-togglable = "Extensions" > < a data-name = "266058348%2FExtensions%2F1737121690" anchor-label = "dataOrElse" id = "266058348%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//dataOrElse/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function0[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/" > < span > data< / span > < wbr > < / wbr > < span > Or< / span > < wbr > < / wbr > < span > < span > Else< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "266058348%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]data-or-else.html" > < span class = "token function" > dataOrElse< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-else.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[android]data-or-else.html" > T< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "data.html" > Optional.data< / a > if < a href = "data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or call < a href = "../[android]data-or-else.html" > block< / a > and returns the result of it< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]data-or-else.html" > < span class = "token function" > dataOrElse< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-else.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]data-or-else.html" > T< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "../[common]-optional/data.html" > Optional.data< / a > if < a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or call < a href = "../[common]data-or-else.html" > block< / a > and returns the result of it< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-else.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< /span
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
2021-12-26 16:15:04 +00:00
< a data-name = "-740158821%2FExtensions%2F1737121690" anchor-label = "dataOrNull" id = "-740158821%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
2021-11-19 03:53:50 +00:00
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//dataOrNull/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/" > < span > data< / span > < wbr > < / wbr > < span > Or< / span > < wbr > < / wbr > < span > < span > Null< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-740158821%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]data-or-null.html" > < span class = "token function" > dataOrNull< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[android]data-or-null.html" > T< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "data.html" > Optional.data< / a > if < a href = "data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or null otherwise< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]data-or-null.html" > < span class = "token function" > dataOrNull< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]data-or-null.html" > T< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "../[common]-optional/data.html" > Optional.data< / a > if < a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or null otherwise< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-null.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[jvm]data-or-null.html" > < span class = "token function" > dataOrNull< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[jvm]data-or-null.html" > T< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "../[jvm]-optional/data.html"
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
2021-12-26 16:15:04 +00:00
< a data-name = "1247045035%2FExtensions%2F1737121690" anchor-label = "dataOrThrow" id = "1247045035%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
2021-11-19 03:53:50 +00:00
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//dataOrThrow/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Throwable/PointingToDeclaration/" > < span > data< / span > < wbr > < / wbr > < span > Or< / span > < wbr > < / wbr > < span > < span > Throw< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1247045035%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]data-or-throw.html" > < span class = "token function" > dataOrThrow< / span > < / a > < span class = "token punctuation" > (< / span > throwable< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html" > Throwable< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[android]data-or-throw.html" > T< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "data.html" > Optional.data< / a > if < a href = "data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or throw < a href = "../[android]data-or-throw.html" > throwable< / a > otherwise< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]data-or-throw.html" > < span class = "token function" > dataOrThrow< / span > < / a > < span class = "token punctuation" > (< / span > throwable< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html" > Throwable< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]data-or-throw.html" > T< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns < a href = "../[common]-optional/data.html" > Optional.data< / a > if < a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > of < span data-unresolved-link = "dev.inmo.micro_utils.common//&lt;this&gt;/#/PointingToCallableParameters(-1)/" > this< / span > is true, or throw < a href = "../[common]data-or-throw.html" > throwable< / a > otherwise< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]data-or-throw.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[jvm]data-or-throw.html" > < span class = "token function" > dataOrThrow< / span > < / a > < span class = "token punctuation" > (< / span > throwable< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
2021-12-26 16:15:04 +00:00
< a data-name = "751780544%2FExtensions%2F1737121690" anchor-label = "mapOnAbsent" id = "751780544%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
2021-11-19 03:53:50 +00:00
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//mapOnAbsent/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function0[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/" > < span > map< / span > < wbr > < / wbr > < span > On< / span > < wbr > < / wbr > < span > < span > Absent< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "751780544%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-absent.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-absent.html" > R< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]map-on-absent.html" > < span class = "token function" > mapOnAbsent< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-absent.html" > R< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[android]map-on-absent.html" > R< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[android]map-on-absent.html" > block< / a > when data presented (< a href = "data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-absent.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-absent.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]map-on-absent.html" > < span class = "token function" > mapOnAbsent< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-absent.html" > R< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]map-on-absent.html" > R< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[common]map-on-absent.html" > block< / a > when data presented (< a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]map-on-absent.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]map-on-absent.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]map-on-absent.html" > T< / a > < span class = "token
< / div >
2021-12-26 16:15:04 +00:00
< / div >
< / div >
< / div >
< a data-name = "1620645484%2FExtensions%2F1737121690" anchor-label = "mapOnPresented" id = "1620645484%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//mapOnPresented/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/" > < span > map< / span > < wbr > < / wbr > < span > On< / span > < wbr > < / wbr > < span > < span > Presented< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1620645484%2FExtensions%2F1737121690" > < / span >
2021-12-26 16:15:04 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-presented.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-presented.html" > R< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]map-on-presented.html" > < span class = "token function" > mapOnPresented< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-presented.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[android]map-on-presented.html" > R< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[android]map-on-presented.html" > R< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[android]map-on-presented.html" > block< / a > when data presented (< a href = "data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-presented.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-presented.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]map-on-presented.html" > < span class = "token function" > mapOnPresented< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-presented.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../[common]map-on-presented.html" > R< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]map-on-presented.html" > R< / a > < span class = "token operator" > ?< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[common]map-on-presented.html" > block< / a > when data presented (< a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]map-on-presented.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]map-on-presented.html" > R< / a > < span c
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
< a data-name = "-1291152217%2FExtensions%2F1737121690" anchor-label = "onAbsent" id = "-1291152217%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//onAbsent/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function0[kotlin.Unit]/PointingToDeclaration/" > < span > on< / span > < wbr > < / wbr > < span > < span > Absent< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1291152217%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]on-absent.html" > < span class = "token function" > onAbsent< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html" > Unit< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[android]on-absent.html" > block< / a > when data absent (< a href = "data-presented.html" > Optional.dataPresented< / a > == false)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]on-absent.html" > < span class = "token function" > onAbsent< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html" > Unit< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[common]on-absent.html" > block< / a > when data absent (< a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > == false)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]on-absent.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[jvm]on-absent.html"
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
< a data-name = "-1318449249%2FExtensions%2F1737121690" anchor-label = "onPresented" id = "-1318449249%2FExtensions%2F1737121690" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain :micro_utils.dokka:dokkaHtml/commonMain :micro_utils.dokka:dokkaHtml/jvmMain" >
< div class = "main-subrow keyValue " >
2022-01-18 13:02:16 +00:00
< div class = "" > < span class = "inline-flex" >
< div > < span data-unresolved-link = "dev.inmo.micro_utils.common//onPresented/dev.inmo.micro_utils.common.Optional[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function1[TypeParam(bounds=[kotlin.Any?]),kotlin.Unit]/PointingToDeclaration/" > < span > on< / span > < wbr > < / wbr > < span > < span > Presented< / span > < / span > < / span > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1318449249%2FExtensions%2F1737121690" > < / span >
2021-11-19 03:53:50 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-12-29 20:59:26 +00:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < button class = "platform-bookmark common-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" data-toggle = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button > < button class = "platform-bookmark jvm-like" data-filterable-current = ":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/jvmMain" data-toggle = ":micro_utils.dokka:dokkaHtml/jvmMain" > jvm< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[android]on-presented.html" > < span class = "token function" > onPresented< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../[android]on-presented.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html" > Unit< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[android]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[android]on-presented.html" > block< / a > when data presented (< a href = "data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../[common]on-presented.html" > < span class = "token function" > onPresented< / span > < / a > < span class = "token punctuation" > (< / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../[common]on-presented.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html" > Unit< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../[common]-optional/index.html" > Optional< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[common]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Will call < a href = "../[common]on-presented.html" > block< / a > when data presented (< a href = "../[common]-optional/data-presented.html" > Optional.dataPresented< / a > == true)< / p > < / div > < / div > < div class = "content sourceset-depenent-content" data-togglable = ":micro_utils.dokka:dokkaHtml/jvmMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../[jvm]on-presented.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../[jvm]-optional/index.html" > Optional< / a > < span class = "token oper
< / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
2022-01-08 10:15:47 +00:00
< div class = "footer" > < span class = "go-to-top-icon" > < a href = "#content" id = "go-to-top-link" > < / a > < / span > < span > © 2022 Copyright< / span > < span class = "pull-right" > < span > Generated by < / span > < a href = "https://github.com/Kotlin/dokka" > < span > dokka< / span > < span class = "padded-icon" > < / span > < / a > < / span > < / div >
2021-11-19 03:53:50 +00:00
< / div >
< / div >
< / body >
< / html >