×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День Святого Валентина (14 Февраля)
Концерты, выставки, цирки ...
Концерты, выставки, цирки ...
Пьеса Евгения Гришковца "Весы" г. Минск 22 января, 20 февраля, 20 марта, 7 апреля 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Плавание в бассейне
Спорт занятие
Компьютеры, игры, программирование
Компьютеры, игры, программирование
Объявления ...
Объявления ...
ХИМЧИСТКА КОВРОВ С ВЫВОЗОМ В ЦЕХ
Объявление
Форум (ваши вопросы, обсуждение)
Форум (ваши вопросы, обсуждение)
Search
Programming, development, testing
→
Kotlin
→
A flag with values of true or false in Kotlin is: Boolean
Looked at
2181
times
A flag with values of true or false in Kotlin is: Boolean
last updated: 15 January 2025
Example:
Kotlin
val
hasFilm
:
Boolean
=
true
//
val
означает что
НЕ МОЖЕМ
менять переменную потом
var
hasBook
:
Boolean
=
false
//
var
означает что можем менять переменную потом
← Previous topic
Decimal numbers in Kotlin are: Float, Double
Next topic →
The symbol in Kotlin is: Char
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Экскурсии по Москве: пешеходные, автобусные и речные прогулки на любой вкус
Объявления
Объявления
•
What is Kotlin?
•
Why is IntelliJ IDEA the most popular development environment for Kotlin?
•
Download and install IntelliJ IDEA to explore Kotlin
•
Create a new project in IntelliJ IDEA for study Kotlin
Int, Float, Boolean, Char ...
•
Integer numbers in Kotlin are: Byte, UByte, Short, UShort, Int, UInt, Long, ULong
•
Decimal numbers in Kotlin are: Float, Double
•
A flag with values of true or false in Kotlin is: Boolean
•
The symbol in Kotlin is: Char
•
Convert number to text in Kotlin | Int → String
String
•
The string, the text in Kotlin is: String
•
Interpolate strings in Kotlin. Example: val address:String = "${street}, ${country}"
•
What is the difference between String and StringBuilder ?
Enum
•
What is an enumeration (enum) in Kotlin ?
•
How do I find enum by value in Kotlin ?
Class
•
What is class in Kotlin? Example: class MyBook { ... }
•
lateinit is a late initialization for the class field | Kotlin
•
class that inherits from interface in Kotlin | Example: class MyBook : IBook { ...}
•
Unnamed class that inherits from interface in Kotlin | Example: val book1 = object : IBook { ...}
•
Generic, template class in Kotlin | Example: class MyBook<T> { ... }
Collections and Arrays
•
Create collections list, set, map and an array array in Kotlin
null
•
null value, use the symbol ? and ?. and !! and ?: and !!. and ?. in Kotlin
Lambda function
•
Lambda function in Kotlin. Example 1: var myFunc1 : (a:Int, b:Int) -> Int = { p1, p2 -> p1 + p2 };
Ваши вопросы присылайте по почте:
info@dir.by