coerceQuery

@twine-protocol/twine-core v0.1.0Docs


twine-js / @twine-protocol/twine-core / coerceQuery

Function: coerceQuery()

coerceQuery(val): ResolveQueryStrict

Coerce something into a query

Throws an error if the value can not be coerced into a query

Parameters

Parameter
Type

val

any

Returns

ResolveQueryStrict

See

asQuery

Defined in

packages/twine-core/src/conversion.ts:308

Last updated