API 参考函数
isTravels()
Travels 3.0.1. Detect a state-owning timeline created by this copy of Travels.
此页尚未提供中文译文。以下内容由英文源码注释生成,API 名称与签名保持原样。
isTravels(
value):value is Travels<unknown, boolean, boolean, {}>
Defined in: src/travels.ts:2777
Check whether a value is a state-owning timeline created by this copy of
Travels. Use it instead of instanceof Travels: Travels is a persistence
namespace, not a constructor.
Parameters
value
unknown
Returns
value is Travels<unknown, boolean, boolean, {}>