Function templateGuard

  • Typeguard to check if the given test object has a template property that is a string.

    Parameters

    • test: {
          template?: unknown;
      }

      The test object to check.

      • Optional template?: unknown

    Returns string | false

    Returns true if the test object is a template guard, false otherwise.

Generated using TypeDoc