• Tests whether the target string is in the array of allowed values

    Example

    expect(().value).toBeTruthy()
    

    Parameters

    • value: any

      The value that may be in the array

    • array: any[]

      The array

    Returns Result<boolean | undefined>

Generated using TypeDoc