Interface ExistsFunction<TKeys, TInterpolationMap>

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

Type Parameters

  • TKeys extends string = string

  • TInterpolationMap extends object = $Dictionary

Hierarchy

  • ExistsFunction
  • Parameters

    • key: TKeys | TKeys[]
    • Optional options: TOptions<TInterpolationMap>
      Optional

    Returns boolean

Generated using TypeDoc