> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.position/yarn.compiler.position.op_lessthanorequal.md).

# M:Yarn.Compiler.Position.op\_LessThanOrEqual(Yarn.Compiler.Position,Yarn.Compiler.Position)

TYPENAME\_UNKNOWN in [Position](/3.1/api/csharp/yarn.compiler/yarn.compiler.position.md)

## Summary

Compares two positions and returns true if `a` is equal to or before `b` .

```csharp
(no declaration available)
```

## Parameters

| Name | Description          |
| ---- | -------------------- |
| a    | The first position.  |
| b    | The second position. |

## Returns

true if a is before or equal to b; false otherwise.
