Skip to content

Custom function BADGE #19

@sww314

Description

@sww314

A common use case is needing to display data from data in an array.

Build a function that handles an input (array) and returns the length.

Support a prefix: Media: 5
Handle undefined or errors, if the object is not an array.

Support returning nothing if the value is undefined or 0.

BADGE(value, "prefix ")
when value is: [{a: b}, {b: c}]
Then:
prefix 2

when value is undefined
Then return ``

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions