clip
from noon import clip
Source-derived function. Host availability is not inferred from this listing. See reference scope.
clip(a: ComparableT, min_a: ComparableT, max_a: ComparableT) -> ComparableT
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
a | positional or keyword | ComparableT | No default |
min_a | positional or keyword | ComparableT | No default |
max_a | positional or keyword | ComparableT | No default |
Return annotation: ComparableT
Preserve comparison order and the identity of the selected argument.