Cerbos JavaScript SDK
    Preparing search index...

    Interface InspectedConstant

    Details of a constant referenced by a policy.

    interface InspectedConstant {
        kind: InspectedConstantKind;
        name: string;
        source: string | undefined;
        used: boolean;
        value: Value | undefined;
    }
    Index

    Properties

    Kind of the constant.

    name: string

    Name of the constant.

    source: string | undefined

    Source of the constant, if it was imported.

    used: boolean

    Whether the constant is used in a policy condition.

    value: Value | undefined

    Value of the constant, if known.