MCPcopy Create free account
hub / github.com/TanStack/db / userIsJunior

Function userIsJunior

packages/db/tests/query/composables.test.ts:343–343  ·  view source on GitHub ↗
({ user }: { user: Ref<User> })

Source from the content-addressed store, hash-verified

341 eq(user.active, true)
342
343 const userIsJunior = ({ user }: { user: Ref<User> }) => lte(user.age, 25)
344
345 const userBasicWithAge = ({ user }: { user: Ref<User> }) => ({
346 id: user.id,

Callers

nothing calls this directly

Calls 1

lteFunction · 0.70

Tested by

no test coverage detected