Skip to content

CreateFormulaFunctionParameterParams

Parameters for createFormulaFunctionParameter.

Import:

import type { CreateFormulaFunctionParameterParams } from '@mnaoumov/obsidian-lib/formula-function';

Signature:

export interface CreateFormulaFunctionParameterParams

Properties

PropertyTypeDescription
customWidget?stringFilter-editor widget, such as file, folder, property, tags or text.
isOptional?booleanWhether omitted arguments are accepted and passed as null.
isVariadic?booleanWhether this final parameter accepts all remaining arguments.
namestringName displayed in formula completion.
typeConstructor<Value>[]Accepted value classes. The first names the expected type in errors.

Links to this page: