Add short-cut to !.

This commit is contained in:
Stephen Chung
2022-11-30 14:11:57 +08:00
parent fc4c8731f0
commit acadb58f4f
3 changed files with 42 additions and 5 deletions

View File

@@ -52,6 +52,9 @@ pub const FN_ANONYMOUS: &str = "anon$";
/// function to compare two [`Dynamic`] values.
pub const OP_EQUALS: &str = Token::EqualsTo.literal_syntax();
/// Standard not operator.
pub const OP_NOT: &str = Token::Bang.literal_syntax();
/// Standard concatenation operator.
///
/// Used primarily to build up interpolated strings.