---
title: IntrinsicOperators.( || ) Function (F#)
description: IntrinsicOperators.( || ) Function (F#)
keywords: visual f#, f#, functional programming
author: dend
manager: danielfe
ms.date: 05/16/2016
ms.topic: language-reference
ms.prod: visual-studio-dev14
ms.technology: devlang-fsharp
ms.assetid: 3462f292-0bd8-440d-a9de-0f8c451b162f 
---

# IntrinsicOperators.( || ) Function (F#)

Computes the Boolean `OR` operation. When used as a binary operator the right hand value is evaluated only on demand.

**Namespace/Module Path:** Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators

**Assembly:** FSharp.Core (in FSharp.Core.dll)


## Syntax

```fsharp
// Signature:
( || ) : bool -> bool -> bool

// Usage:
e1 || e2
```

#### Parameters
*e1*
Type: [bool](https://msdn.microsoft.com/library/89c0cf9c-49ce-4207-a3be-555851a67dd5)


The first value.


*e2*
Type: [bool](https://msdn.microsoft.com/library/89c0cf9c-49ce-4207-a3be-555851a67dd5)


The second value.

## Return Value

The result of the operation.

## Platforms
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2


## Version Information
**F# Core Library Versions**

Supported in: 2.0, 4.0, Portable

## See Also
[LanguagePrimitives.IntrinsicOperators Module &#40;F&#35;&#41;](LanguagePrimitives.IntrinsicOperators-Module-%5BFSharp%5D.md)

[Core.LanguagePrimitives Module &#40;F&#35;&#41;](Core.LanguagePrimitives-Module-%5BFSharp%5D.md)