Interface: XQueryCastable
Defined in: lang-xquery/src/language/language.ts:96
XQuery-specific extension of Castable that can suppress automatic atomization.
Extends
Properties
convert
convert: (
val) =>any
Defined in: core/dist/extension.d.ts:50
Converts a value to the target type.
Parameters
| Parameter | Type |
|---|---|
val | any |
Returns
any
Inherited from
name
name:
string
Defined in: core/dist/extension.d.ts:44
Unique name of this castable keyword.
Inherited from
pure?
optionalpure?:boolean
Defined in: core/dist/extension.d.ts:48
No side effects, same output for same input (careful: () => ({}) is not pure).
Inherited from
schema?
optionalschema?:string|symbol
Defined in: core/dist/extension.d.ts:46
Schema (name prefix) of the castable.
Inherited from
skipAtomization?
optionalskipAtomization?:boolean
Defined in: lang-xquery/src/language/language.ts:98
When true, values are not atomized before the cast is attempted.