Standard<T> extension
类似Kotlin的扩展
- on
-
- T
Methods
-
apply(
void block(T self)) → T -
Available on T, provided by the Standard extension
-
isNull(
) → bool -
Available on T, provided by the Standard extension
-
let<
R> (R block(T value)) → R -
Available on T, provided by the Standard extension
-
takeIf(
bool predicate(T value)) → T? -
Available on T, provided by the Standard extension
-
takeUnless(
bool predicate(T value)) → T? -
Available on T, provided by the Standard extension
-
test(
bool predicate(T value)) → bool -
Available on T, provided by the Standard extension