Staticsยง
Functionsยง
- is_
require_ ๐call - Checks if an expression is a call to the
requirebuiltin function. - is_
revert_ ๐call - Checks if an expression is a call to the
revertbuiltin function. - is_
string_ ๐literal - Checks if an expression is a string literal.
- should_
lint_ ๐require - Checks if a require call should be linted: has string literal as second argument.
- should_
lint_ ๐revert - Checks if a revert call should be linted:
revert()orrevert("message").