func github.com/evanw/esbuild/internal/js_ast.IsBooleanValue
10 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L740: if e.Op == UnOpNot && IsBooleanValue(e.Value) {
js_ast.go#L779: func IsBooleanValue(a Expr) bool {
js_ast.go#L785: return IsBooleanValue(e.Yes) && IsBooleanValue(e.No)
js_ast.go#L798: return IsBooleanValue(e.Left) && IsBooleanValue(e.Right)
js_ast.go#L801: return IsBooleanValue(e.Left)
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L9287: return (js_ast.IsBooleanValue(a) && js_ast.IsBooleanValue(b)) ||
js_parser.go#L9297: if boolean, ok := e.Right.Data.(*js_ast.EBoolean); ok && js_ast.IsBooleanValue(e.Left) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |