Value.RemoveMetadata

Syntax

Value.RemoveMetadata(value as any, optional metaValue as any) as any

About

Strips the input of metadata.

Example 1

Remove all metadata from a text value.

Usage

Value.Metadata(
    Value.RemoveMetadata("abc" meta [a = 1, b = 2])
)

Output

[]

Example 2

Remove only one field of metadata from a text value.

Usage

Value.Metadata(
    Value.RemoveMetadata("abc" meta [a = 1, b = 2], {"a"})
)

Output

[b = 2]