$flags
Using the $flags function, you can access other flags in the current flag. For instance, you have a flag named flag1 in group1 group. You can access it in the flag2 following way:
// flag2() => { const flag1 = $flags('group1')('flag1'); return flag1 ? 'Flag is true' : 'Flag is false';}