- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TypeNull (0.18 sec)
-
src/syscall/js/js.go
type Type int const ( TypeUndefined Type = iota TypeNull TypeBoolean TypeNumber TypeString TypeSymbol TypeObject TypeFunction ) func (t Type) String() string { switch t { case TypeUndefined: return "undefined" case TypeNull: return "null" case TypeBoolean: return "boolean" case TypeNumber: return "number"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
internal/s3select/simdj/record.go
return sql.FromFloat(v), err } return sql.FromInt(v), nil case simdjson.TypeBool: v, err := iter.Bool() if err != nil { return nil, err } return sql.FromBool(v), nil case simdjson.TypeNull: return sql.FromNull(), nil case simdjson.TypeObject, simdjson.TypeArray: b, err := iter.MarshalJSON() return sql.FromBytes(b), err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 5.4K bytes - Viewed (0) -
internal/s3select/sql/record.go
} if typ == simdjson.TypeNone { break } v, err := IterToValue(next) if err != nil { return nil, err } dst = append(dst, v) } return dst, err case simdjson.TypeNull: return nil, nil } return nil, fmt.Errorf("IterToValue: unknown JSON type: %s", iter.Type().String())
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.4K bytes - Viewed (0) -
src/syscall/js/js_test.go
} } func TestType(t *testing.T) { if got, want := js.Undefined().Type(), js.TypeUndefined; got != want { t.Errorf("got %s, want %s", got, want) } if got, want := js.Null().Type(), js.TypeNull; got != want { t.Errorf("got %s, want %s", got, want) } if got, want := js.ValueOf(true).Type(), js.TypeBoolean; got != want { t.Errorf("got %s, want %s", got, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Func", Type, 0}, {"FuncOf", Func, 0}, {"Global", Func, 0}, {"Null", Func, 0}, {"Type", Type, 0}, {"TypeBoolean", Const, 0}, {"TypeFunction", Const, 0}, {"TypeNull", Const, 0}, {"TypeNumber", Const, 0}, {"TypeObject", Const, 0}, {"TypeString", Const, 0}, {"TypeSymbol", Const, 0}, {"TypeUndefined", Const, 0}, {"Undefined", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)