# needFits

needFits in @provenanceauth/rails/mandates, Rails. Does `need` fit `authority`?

## Signature

```ts
needFits(authority: MandateAuthority, need: MandateNeed | undefined): MandateReason | null
```

## Parameters

- `authority` (MandateAuthority)
- `need` (MandateNeed | undefined)

## Returns

`MandateReason | null`

Runs locally, with no request to the API.
