object-shape-tester - v6.11.0
Preparing search index...
primitiveShape
Function primitiveShape
primitiveShape
(
defaultValue
?:
Primitive
)
:
Shape
<
Primitive
>
Creates a shape that only allows primitive values.
Parameters
Optional
defaultValue
:
Primitive
Returns
Shape
<
Primitive
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
object-shape-tester - v6.11.0
Loading...
Creates a shape that only allows primitive values.