{"id":"eyycheev/jest-get-type","name":"jest-get-type","scope":"eyycheev","platform":"roblox","description":"Mirrored from the Wally registry.","version":"3.14.0-rbx.2","latest":"3.14.0-rbx.2","versions":["3.14.0-rbx.0","3.14.0-rbx.1","3.14.0-rbx.2"],"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":{"jsdotlua/luau-polyfill":{"version":"^1.2.7","alias":"LuauPolyfill"},"jsdotlua/luau-regexp":{"version":"^0.2.1","alias":"RegExp"}},"integrity":"a457e18ccf015541b119d79e663e6269a79dff4ab8f60ab6a0085fb40bea62fc","likes":0,"downloads":0,"install":"forest install eyycheev/jest-get-type","url":"https://forest.dev/p/roblox/eyycheev/jest-get-type","files":"https://api.forest.dev/ai/package/roblox/eyycheev/jest-get-type/files","readme":"# jest-get-type\r\n\r\nUpstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-get-type\r\n\r\nA utility function to get the type of a value, including Luau and Roblox types.\r\n\r\nTypes supported:\r\n\r\n* Lua Primitives - `nil`, `table`, `number`, `string`, `function`, `boolean`, `userdata`, `thread`\r\n* [Luau Polyfill](https://github.com/Roblox/luau-polyfill) types - `symbol`, [`regexp`](https://github.com/Roblox/luau-regexp), `error`, `set`\r\n* Roblox datatypes - `DateTime`, and other [`builtin`](https://developer.roblox.com/en-us/api-reference/data-types) types\r\n\r\n---\r\n\r\n### :pencil2: Notes\r\n* Lua makes no distinction between tables, objects, and arrays. We always return `table` at this level and consumers are expected to check at a higher level.\r\n* Lua makes no distinction between `null` and `undefined` so we only return `nil`.\r\n* Lua lacks the following primitives: `bigint`, `symbol`.\r\n* Lua lacks the following built-in types: `RegExp`, `Map`, `Set`, `Date`.\r\n* `JestGetType` deviates and exposes an `isRobloxBuiltin` method to check whether a value is a Roblox builtin type\r\n","readmeTruncated":false}