Docs (4.0.0)
class Binding method

asString

Adds a filter, to convert the bound value to a string.

asString(format?: string): Binding<string>

Parameters

  • format — A strf format placeholder (without % character) to format the value, e.g. n, .2f, lc

Return value

A new binding, typed as a string

Related