Name

find-in-property-list

Usage

builtin-function

Syntax

(find-in-property-list item seq &key test key default)

Description

Retrieves the value of a property item on a property list seq. Otherwise like find.

user 1 > (find-in-property-list 'noot '(aap 1 noot 2 mies 3))
it: 2
user 2 > (find-in-property-list 'teun (vector 'aap 1 'noot 2 'mies 3))
it: null
user 3 > (find-in-property-list 'teun (vector 'aap 1 'noot 2 'mies 3) :default -1)
it: -1