Interface ExistsFunction<TKeys, TInterpolationMap>

Uses similar args as the t function and returns true if a key exists.

interface ExistsFunction<TKeys, TInterpolationMap> ((key, options?) => boolean)

Type Parameters

  • TKeys extends string = string
  • TInterpolationMap extends object = $Dictionary
  • Parameters

    Returns boolean