Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: r-exp , Previous: Q , Home: Overview

Clamps Dictionary

R

r-elt

Function

(r-elt seq)

Return a random element of seq.

Arguments

seq a sequence fulfilling the predicate (typep seq 'sequence) like a list or a vector.

Examples

(r-elt #(1 2 3 4)) ; => 1, 2, 3 or 4

(r-elt '(dog cat bird cow)) ; => dog, cat, bird or cow

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate