• Check if at least min special characters appear anywhere in the stringtarget

    Example

    expect(hasNumericCharacters('a2', 2).value).toBeFalsy()
    expect(hasNumericCharacters('#a2a2@', 2).value).toBeTruthy()

    Parameters

    • target: string

      The target

    • min: number

    Returns Result<boolean | undefined>

Generated using TypeDoc