{"id":"roblox/jest-get-type","name":"jest-get-type","scope":"roblox","platform":"roblox","description":"A utility function to get the type of a value, including Luau and Roblox types.","version":"3.21.0","latest":"3.21.0","versions":["3.20.0","3.20.1","3.21.0"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{"roblox/luau-polyfill":{"version":"^1.2.5","alias":"LuauPolyfill"},"roblox/regexp":{"version":"^0.3.0","alias":"RegExp"}},"integrity":"16e8903e83b2001dfac7d8af508d1b7b2d2cf2947daa9c812ca47906365bd20c","likes":0,"downloads":0,"install":"forest install roblox/jest-get-type","url":"https://forest.dev/p/roblox/roblox/jest-get-type","files":"https://api.forest.dev/ai/package/roblox/roblox/jest-get-type/files","readme":"# jest-get-type\n\nUpstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-get-type\n\nUtility functions for getting the type of a value. Returns type strings for Lua primitives (`nil`, `boolean`, `number`, `string`, `function`, `table`, `userdata`, `thread`), polyfill types (`symbol`, `regexp`, `error`, `map`, `set`), Roblox data types (`DateTime`, `Vector3`, etc.), and Roblox instances (`Instance`).\n\n## Exports\n\n- **`getType(value: any) -> string`** — Returns a string identifying the type of the value\n- **`isPrimitive(value: any) -> boolean`** — Returns `true` for non-table, non-function, non-Instance values\n- **`isRobloxBuiltin(value: any) -> boolean`** — Returns `true` for Roblox engine data types (Vector3, Color3, UDim2, etc.)\n","readmeTruncated":false}