WIP
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
export class EnumUtils {
|
||||
|
||||
public static hasFlag(obj, enumValue): boolean {
|
||||
if (obj) {
|
||||
if (obj & enumValue) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user