MCPcopy Create free account
hub / github.com/cococry/leif / props_stack_peak

Function props_stack_peak

leif.c:1678–1681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1676}
1677
1678LfUIElementProps props_stack_peak(PropsStack* stack) {
1679 LF_ASSERT(stack.count != 0, "Stack is empty on stack data structure!");
1680 return stack->data[stack->count - 1];
1681}
1682
1683bool props_stack_empty(PropsStack* stack) {
1684 return stack->count == 0;

Callers 1

get_props_forFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected