Skip to content

BeechCMS


BeechCMS / @beechcms/core / findBranchById

Function: findBranchById() ​

findBranchById(seed, id): Branch | null

Finds a branch by its stable id within a Seed. Returns null if not found.

Parameters ​

seed ​

Seed

id ​

string

Returns ​

Branch | null