method

search

v1_8_6_287 - Show latest stable - Class: List
search(id, key)
public

Searches key in id list. The result is returned or yielded if a block is given. If it isn’t found, nil is returned.