• Checks if the value is a date occurs at the exact same time as the target date.

    Example

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

    Parameters

    • value: Date

      The value being checked.

    • target: Date

      The target value to perform the check against.

    Returns Result<boolean | undefined>

Generated using TypeDoc