• Checks whether the target string is a valid locale

    Example

    expect(isLocale('en').value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    Returns Result<boolean | undefined>

Generated using TypeDoc