• Checks if the value is a substring of the target.

    Example

    expect(isSubString('foo', 'fooboo').value).toBeTruthy()
    

    Parameters

    • contained: string

      The value that may be contained.

    • target: string

      The target value to perform the check against.

    Returns Result<boolean | undefined>

Generated using TypeDoc