BlockSuite API Documentation / @blocksuite/data-view / TypeInstance
Interface: TypeInstance
Defined in: packages/affine/data-view/src/core/logical/type.ts:13
Extends
Properties
_validate
readonly
_validate:ZodType
Defined in: packages/affine/data-view/src/core/logical/type.ts:15
_valueType
readonly
_valueType:any
Defined in: packages/affine/data-view/src/core/logical/type.ts:14
name
readonly
name:string
Defined in: packages/affine/data-view/src/core/logical/type.ts:6
Inherited from
Methods
subst()
subst(
ctx
):void
|TypeInstance
Defined in: packages/affine/data-view/src/core/logical/type.ts:19
Parameters
ctx
TypeVarContext
Returns
void
| TypeInstance
unify()
unify(
ctx
,type
,unify
):boolean
Defined in: packages/affine/data-view/src/core/logical/type.ts:21
Parameters
ctx
TypeVarContext
type
TypeInstance
unify
Returns
boolean
valueValidate()
valueValidate(
value
):value is any
Defined in: packages/affine/data-view/src/core/logical/type.ts:17
Parameters
value
unknown
Returns
value is any