> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RS_LessThanEqual

Mask all the values with 1 which are less than equal to a particular target value

## Signatures

```sql theme={"system"}
RS_LessThanEqual (Band: ARRAY[Double], Target: Double)
```

## Parameters

<ParamField body="Band" type="ARRAY[Double]" required>
  The band index.
</ParamField>

<ParamField body="Target" type="Double" required>
  The target value.
</ParamField>

## Return type

<ResponseField type="Array<Double>">
  An array of double values.
</ResponseField>

## Example

```scala theme={"system"}
val lessEqualDF = spark.sql("select RS_LessThanEqual(band, target) as maskedvalues from dataframe")
```
