• Tests whether the target string is empty

    Example

    expect(isEmpty('').value).toBeTruthy()
    

    Note that ignore_whitespace is false by default.

    Parameters

    • target: string

      The target string

    • options: any

      The options

    Returns Result<boolean | undefined>

Generated using TypeDoc