- Preparing search index...
- The search index is not available
Charged URI
Class UcsFunction<T, TSchema>
Constructors
constructor
- new UcsFunction<out T, out TSchema>(options): UcsFunction<T, TSchema>
-
Accessors
schema
- get schema(): TSchema
-
Returns TSchema
Methods
associate
- associate<TAssoc>(associate): TAssoc
-
Parameters
-
associate: ((target) => TAssoc)
-
- (target): TAssoc
-
Returns TAssoc
Returns TAssoc
format
- format(__namedParameters, schema, args, onUnknownSchema?, onUnknownInset?): EsSnippet
-
Parameters
-
__namedParameters: {
format: keyof UcFormatPresentations<unknown, UcSchema<unknown>>;
hostFormat?: undefined;
inset?: undefined;
} | {
format?: undefined;
hostFormat: keyof UcFormatPresentations<unknown, UcSchema<unknown>>;
inset: keyof UcInsetPresentations<unknown, UcSchema<unknown>>;
}
-
schema: UcSchema<unknown>
-
-
onUnknownSchema: ((schema, context) => never) = UcsFunction$onUnknownSchema
-
- (schema, context): never
-
Returns never
-
onUnknownInset: ((schema, inset) => never) = UcsFunction$onUnknownInset
-
- (schema, inset): never
-
Returns never
Returns EsSnippet