These docs are for an old release. View the v7 docs
edit doc view .md

Calendar::getEventById

Returns a single event with the matching id.

calendar.getEventById( id )

id must be a string or a number

Will return an Event Object if found, and null otherwise.