Uid
Uid =
number&object
Defined in: packages/core/src/kernel/types.ts:121
User identity. 0 is root by convention.
Type Declaration
Section titled “Type Declaration”__brand
Section titled “__brand”
readonly__brand:"Uid"
Remarks
Section titled “Remarks”Branded so callers cannot swap uid/gid argument order — both are numeric, silent reversal would defeat the permission model.
Example
Section titled “Example”import { uid } from '@fishnet/core'const root = uid(0)