• Tests if the value is an instance of the specified object.

    Example

    expect(isInstanceOf(new Date(0), Date).value).toBeTruthy()
    

    Parameters

    • value: any

      The value array being checked.

    • target: (new (...args: any[]) => any)

      The target type constructor

        • new (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns Result<boolean | undefined>

Generated using TypeDoc