mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
8 lines
256 B
Kotlin
8 lines
256 B
Kotlin
package com.github.codeql.utils
|
|
|
|
import org.jetbrains.kotlin.descriptors.DescriptorVisibilities
|
|
import org.jetbrains.kotlin.ir.declarations.IrFunction
|
|
|
|
fun IrFunction.isLocalFunction(): Boolean {
|
|
return this.visibility == DescriptorVisibilities.LOCAL
|
|
} |