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

    Example

    expect(isInObjectKeys('foo', {foo:'f'}).value).toBeTruthy()
    

    Parameters

    • target: any

      The target string

    • object: any

    Returns Result<boolean | undefined>

Generated using TypeDoc