mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 09:21:35 +00:00
Fix an issue with asc not finding bundled library files in the browser; Minor cleanup
This commit is contained in:
@ -109,7 +109,7 @@ export abstract class Node {
|
||||
/** Common flags indicating specific traits. */
|
||||
flags: CommonFlags = CommonFlags.NONE;
|
||||
|
||||
/** Tests if this node has a specific flag or flags. */
|
||||
/** Tests if this node has the specified flag or flags. */
|
||||
is(flag: CommonFlags): bool { return (this.flags & flag) == flag; }
|
||||
/** Tests if this node has one of the specified flags. */
|
||||
isAny(flag: CommonFlags): bool { return (this.flags & flag) != 0; }
|
||||
|
Reference in New Issue
Block a user