Skip to content

Documentation / @ripl/core / elementIsPath

Function: elementIsPath() ​

elementIsPath(value): value is Path

Defined in: packages/core/src/elements/path.ts:111

Type guard that checks whether a value is a Path instance.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Path