Skip to content
FunctionTypes & Utilities@public

parsePhysicsBody ​

Parse or throw for a version 1 physics body.

ts
export declare function parsePhysicsBody(value: unknown): PhysicsBodyDocumentV1

Parameters ​

ParameterTypeDescription
valueunknown-

Returns ​

PhysicsBodyDocumentV1

Released under the MIT License.