Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 316 Bytes

XRoomPosition.md

File metadata and controls

9 lines (6 loc) · 316 Bytes

XRoomPosition

◼ RoomPosition.prototype.fromLiteral (obj)

Safely tries to create a RoomPosition from an object literal.

Unlike the RoomPosition constructor, this will not throw an error if invalid parameters are passed.

Return value

A RoomPosition object, or null if invalid parameters were passed.