search/
Start typing to search packages!
package_2
jest-get-type
By @roblox
Roblox
Mirrored from Wallyjest-get-type
Upstream: https://github.com/facebook/jest/tree/v27.4.7/packages/jest-get-type
Utility 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).
Exports
getType(value: any) -> string— Returns a string identifying the type of the valueisPrimitive(value: any) -> boolean— Returnstruefor non-table, non-function, non-Instance valuesisRobloxBuiltin(value: any) -> boolean— Returnstruefor Roblox engine data types (Vector3, Color3, UDim2, etc.)
Package Details
Install command (Click to copy)
Version
3.20.1
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
