caller

This section is a work in progress.

Examples:

import { Canister, ic, Principal, update } from 'azle/experimental';

export default Canister({
    // returns the principal of the identity that called this function
    caller: update([], Principal, () => {
        return ic.caller();
    })
});