isSurrealLike
isSurrealLike(
value):value is SurrealLike
Defined in: config/index.ts:170
Type guard to check if a value is a SurrealLike database instance.
Used internally to distinguish between select(db, options) and select(options).
Parameters
Section titled “Parameters”unknown
Value to check
Returns
Section titled “Returns”value is SurrealLike
true if value is a SurrealLike instance