59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
21 lines
412 B
Kotlin
21 lines
412 B
Kotlin
package test
|
|
|
|
import java.io.File
|
|
|
|
/**
|
|
* User: ignatov
|
|
*/
|
|
public class Test {
|
|
default object {
|
|
public fun isDir(parent: File?): Boolean {
|
|
if (parent == null || !parent.exists()) {
|
|
return false
|
|
}
|
|
val result = true
|
|
if (parent.isDirectory()) {
|
|
return true
|
|
} else
|
|
return false
|
|
}
|
|
}
|
|
} |