JS/RTTI: (minor) fixed typo
This commit is contained in:
committed by
Alexey Andreev
parent
57fbab9f7c
commit
d42cbde74d
@@ -490,7 +490,12 @@ public class TypeUtils {
|
||||
return getTypeParameterDescriptorOrNull(type) != null;
|
||||
}
|
||||
|
||||
public static boolean isNonReifiedTypeParemeter(@NotNull KotlinType type) {
|
||||
public static boolean isReifiedTypeParameter(@NotNull KotlinType type) {
|
||||
TypeParameterDescriptor typeParameterDescriptor = getTypeParameterDescriptorOrNull(type);
|
||||
return typeParameterDescriptor != null && typeParameterDescriptor.isReified();
|
||||
}
|
||||
|
||||
public static boolean isNonReifiedTypeParameter(@NotNull KotlinType type) {
|
||||
TypeParameterDescriptor typeParameterDescriptor = getTypeParameterDescriptorOrNull(type);
|
||||
return typeParameterDescriptor != null && !typeParameterDescriptor.isReified();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user