• Tests whether the target string is hashed using the arg algorithm

    Example

    expect(isHash('d94f3f016ae679c3008de268209132f2', 'md5').value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    • arg: string

      The arg

    Returns Result<boolean | undefined>

Generated using TypeDoc