Learn
Reference
Examples
Learn
Reference
Examples
API Reference
@tldraw/editor
Class
Function
Variable
Interface
TypeAlias
@tldraw/store
Class
Function
Enum
Interface
TypeAlias
@tldraw/sync-core
Class
Interface
TypeAlias
@tldraw/sync
Function
Interface
TypeAlias
tldraw
Class
Function
Variable
Enum
Interface
TypeAlias
Component
@tldraw/tlschema
Class
Function
createAssetValidator
createBindingId
createBindingPropsMigrationIds
createBindingPropsMigrationSequence
createBindingValidator
createPresenceStateDerivation
createShapeId
createShapePropsMigrationIds
createShapePropsMigrationSequence
createShapeValidator
createTLSchema
getDefaultColorTheme
getDefaultTranslationLocale
idValidator
isBinding
isBindingId
isPageId
isShape
isShapeId
Variable
Interface
TypeAlias
@tldraw/validate
Class
TypeAlias
Namespace
Close
API Reference
/
@tldraw/tlschema
isShape
function
function
isShape
(
record
?:
UnknownRecord
):
record
is
TLShape
Parameters
Name
Description
record
UnknownRecord
Returns
record
is
TLShape
isPageId
isShapeId