Skip to content

@gettoor/core v0.1.0


@gettoor/core / findPlaceholders

Function: findPlaceholders()

findPlaceholders(text: string): string[]

Finds placeholders in a string.

Parameters

ParameterTypeDescription
textstringThe text to get the placeholders from.

Returns

string[]

The placeholders in the text.