1--- 2source: tests/tests.rs 3expression: format(&contents) 4 5--- 6local isValid = 7 -- Allow nil for conditional declaration 8 contextType == nil or (contextType["$$typeof"] == REACT_CONTEXT_TYPE and contextType._context == nil) -- Not a <Context.Consumer> 9 10local isValid = -- Allow nil for conditional declaration 11 foo 12 13local isValid = -- test comment 14 -- Allow nil for conditional declaration 15 contextType == nil or (contextType["$$typeof"] == REACT_CONTEXT_TYPE and contextType._context == nil) -- Not a <Context.Consumer> 16 17